FileSharesLeaseHeaders Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. FileSharesLeaseHeaders
- com.
public final class FileSharesLeaseHeaders
The FileSharesLeaseHeaders model.
Constructor Summary
Constructor | Description |
---|---|
FileSharesLeaseHeaders(HttpHeaders rawHeaders) |
Creates an instance of File |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get the etag property: The Etag property. |
void |
validate()
Validates the instance. |
File |
withEtag(String etag)
Set the etag property: The Etag property. |
Methods inherited from java.lang.Object
Constructor Details
FileSharesLeaseHeaders
public FileSharesLeaseHeaders(HttpHeaders rawHeaders)
Creates an instance of FileSharesLeaseHeaders class.
Parameters:
rawHeaders
- The raw HttpHeaders that will be used to create the property values.
Method Details
etag
public String etag()
Get the etag property: The Etag property.
Returns:
the etag value.
validate
public void validate()
Validates the instance.
withEtag
public FileSharesLeaseHeaders withEtag(String etag)
Set the etag property: The Etag property.
Parameters:
etag
- the etag value to set.
Returns:
the FileSharesLeaseHeaders object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java