Class FileSharesLeaseHeaders
java.lang.Object
com.azure.resourcemanager.storage.models.FileSharesLeaseHeaders
The FileSharesLeaseHeaders model.
-
Constructor Summary
ConstructorsConstructorDescriptionFileSharesLeaseHeaders(com.azure.core.http.HttpHeaders rawHeaders) Creates an instance of FileSharesLeaseHeaders class. -
Method Summary
-
Constructor Details
-
FileSharesLeaseHeaders
public FileSharesLeaseHeaders(com.azure.core.http.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
-
withEtag
Set the etag property: The Etag property.- Parameters:
etag- the etag value to set.- Returns:
- the FileSharesLeaseHeaders object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-