Class BlobBreakLeaseHeaders
- java.lang.Object
-
- com.microsoft.azure.storage.blob.models.BlobBreakLeaseHeaders
-
public final class BlobBreakLeaseHeaders extends Object
Defines headers for BreakLease operation.
-
-
Constructor Summary
Constructors Constructor Description BlobBreakLeaseHeaders()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTimedate()Get the date value.StringeTag()Get the eTag value.OffsetDateTimelastModified()Get the lastModified value.IntegerleaseTime()Get the leaseTime value.StringrequestId()Get the requestId value.Stringversion()Get the version value.BlobBreakLeaseHeaderswithDate(OffsetDateTime date)Set the date value.BlobBreakLeaseHeaderswithETag(String eTag)Set the eTag value.BlobBreakLeaseHeaderswithLastModified(OffsetDateTime lastModified)Set the lastModified value.BlobBreakLeaseHeaderswithLeaseTime(Integer leaseTime)Set the leaseTime value.BlobBreakLeaseHeaderswithRequestId(String requestId)Set the requestId value.BlobBreakLeaseHeaderswithVersion(String version)Set the version value.
-
-
-
Method Detail
-
eTag
public String eTag()
Get the eTag value.- Returns:
- the eTag value.
-
withETag
public BlobBreakLeaseHeaders withETag(String eTag)
Set the eTag value.- Parameters:
eTag- the eTag value to set.- Returns:
- the BlobBreakLeaseHeaders object itself.
-
lastModified
public OffsetDateTime lastModified()
Get the lastModified value.- Returns:
- the lastModified value.
-
withLastModified
public BlobBreakLeaseHeaders withLastModified(OffsetDateTime lastModified)
Set the lastModified value.- Parameters:
lastModified- the lastModified value to set.- Returns:
- the BlobBreakLeaseHeaders object itself.
-
leaseTime
public Integer leaseTime()
Get the leaseTime value.- Returns:
- the leaseTime value.
-
withLeaseTime
public BlobBreakLeaseHeaders withLeaseTime(Integer leaseTime)
Set the leaseTime value.- Parameters:
leaseTime- the leaseTime value to set.- Returns:
- the BlobBreakLeaseHeaders object itself.
-
requestId
public String requestId()
Get the requestId value.- Returns:
- the requestId value.
-
withRequestId
public BlobBreakLeaseHeaders withRequestId(String requestId)
Set the requestId value.- Parameters:
requestId- the requestId value to set.- Returns:
- the BlobBreakLeaseHeaders object itself.
-
version
public String version()
Get the version value.- Returns:
- the version value.
-
withVersion
public BlobBreakLeaseHeaders withVersion(String version)
Set the version value.- Parameters:
version- the version value to set.- Returns:
- the BlobBreakLeaseHeaders object itself.
-
date
public OffsetDateTime date()
Get the date value.- Returns:
- the date value.
-
withDate
public BlobBreakLeaseHeaders withDate(OffsetDateTime date)
Set the date value.- Parameters:
date- the date value to set.- Returns:
- the BlobBreakLeaseHeaders object itself.
-
-