FileSharesLeaseHeaders Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.models.FileSharesLeaseHeaders

public final class FileSharesLeaseHeaders

The FileSharesLeaseHeaders model.

Constructor Summary

Constructor Description
FileSharesLeaseHeaders(HttpHeaders rawHeaders)

Creates an instance of FileSharesLeaseHeaders class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: The Etag property.

void validate()

Validates the instance.

FileSharesLeaseHeaders 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