/** * Set the lastModified value. * * @param lastModified the lastModified value to set. * @return the ContainerReleaseLeaseHeaders object itself. */ public ContainerReleaseLeaseHeaders withLastModified(OffsetDateTime lastModified) { if (lastModified == null) { this.lastModified = null; } else { this.lastModified = new DateTimeRfc1123(lastModified); } return this; }
/** * Set the lastModified value. * * @param lastModified the lastModified value to set. * @return the ContainerBreakLeaseHeaders object itself. */ public ContainerBreakLeaseHeaders withLastModified(OffsetDateTime lastModified) { if (lastModified == null) { this.lastModified = null; } else { this.lastModified = new DateTimeRfc1123(lastModified); } return this; }
/** * Set the date value. * * @param date the date value to set. * @return the BlobCopyFromURLHeaders object itself. */ public BlobCopyFromURLHeaders withDate(OffsetDateTime date) { if (date == null) { this.date = null; } else { this.date = new DateTimeRfc1123(date); } return this; }
/** * Set the lastModified value. * * @param lastModified the lastModified value to set. * @return the BlobRenewLeaseHeaders object itself. */ public BlobRenewLeaseHeaders withLastModified(OffsetDateTime lastModified) { if (lastModified == null) { this.lastModified = null; } else { this.lastModified = new DateTimeRfc1123(lastModified); } return this; }
/** * Set the lastModified value. * * @param lastModified the lastModified value to set. * @return the BlockBlobCommitBlockListHeaders object itself. */ public BlockBlobCommitBlockListHeaders withLastModified(OffsetDateTime lastModified) { if (lastModified == null) { this.lastModified = null; } else { this.lastModified = new DateTimeRfc1123(lastModified); } return this; }
/** * Set the lastModified value. * * @param lastModified the lastModified value to set. * @return the AppendBlobCreateHeaders object itself. */ public AppendBlobCreateHeaders withLastModified(OffsetDateTime lastModified) { if (lastModified == null) { this.lastModified = null; } else { this.lastModified = new DateTimeRfc1123(lastModified); } return this; }
/** * Set the date value. * * @param date the date value to set. * @return the ServiceGetAccountInfoHeaders object itself. */ public ServiceGetAccountInfoHeaders withDate(OffsetDateTime date) { if (date == null) { this.date = null; } else { this.date = new DateTimeRfc1123(date); } return this; }
/** * Set the date value. * * @param date the date value to set. * @return the BlobSetMetadataHeaders object itself. */ public BlobSetMetadataHeaders withDate(OffsetDateTime date) { if (date == null) { this.date = null; } else { this.date = new DateTimeRfc1123(date); } return this; }
/** * Set the lastModified value. * * @param lastModified the lastModified value to set. * @return the BlobDownloadHeaders object itself. */ public BlobDownloadHeaders withLastModified(OffsetDateTime lastModified) { if (lastModified == null) { this.lastModified = null; } else { this.lastModified = new DateTimeRfc1123(lastModified); } return this; }
/** * Set the copyCompletionTime value. * * @param copyCompletionTime the copyCompletionTime value to set. * @return the BlobGetPropertiesHeaders object itself. */ public BlobGetPropertiesHeaders withCopyCompletionTime(OffsetDateTime copyCompletionTime) { if (copyCompletionTime == null) { this.copyCompletionTime = null; } else { this.copyCompletionTime = new DateTimeRfc1123(copyCompletionTime); } return this; }
/** * Set the date value. * * @param date the date value to set. * @return the ContainerGetAccountInfoHeaders object itself. */ public ContainerGetAccountInfoHeaders withDate(OffsetDateTime date) { if (date == null) { this.date = null; } else { this.date = new DateTimeRfc1123(date); } return this; }
/** * Set the lastModified value. * * @param lastModified the lastModified value to set. * @return the BlobBreakLeaseHeaders object itself. */ public BlobBreakLeaseHeaders withLastModified(OffsetDateTime lastModified) { if (lastModified == null) { this.lastModified = null; } else { this.lastModified = new DateTimeRfc1123(lastModified); } return this; }
/** * Set the copyCompletionTime value. * * @param copyCompletionTime the copyCompletionTime value to set. * @return the BlobProperties object itself. */ public BlobProperties withCopyCompletionTime(OffsetDateTime copyCompletionTime) { if (copyCompletionTime == null) { this.copyCompletionTime = null; } else { this.copyCompletionTime = new DateTimeRfc1123(copyCompletionTime); } return this; }
/** * Set the ifUnmodifiedSince value. * * @param ifUnmodifiedSince the ifUnmodifiedSince value to set. * @return the ModifiedAccessConditions object itself. */ public ModifiedAccessConditions withIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince) { if (ifUnmodifiedSince == null) { this.ifUnmodifiedSince = null; } else { this.ifUnmodifiedSince = new DateTimeRfc1123(ifUnmodifiedSince); } return this; }
/** * Set the lastModified value. * * @param lastModified the lastModified value to set. * @return the ContainerChangeLeaseHeaders object itself. */ public ContainerChangeLeaseHeaders withLastModified(OffsetDateTime lastModified) { if (lastModified == null) { this.lastModified = null; } else { this.lastModified = new DateTimeRfc1123(lastModified); } return this; }
/** * Set the date value. * * @param date the date value to set. * @return the BlobStartCopyFromURLHeaders object itself. */ public BlobStartCopyFromURLHeaders withDate(OffsetDateTime date) { if (date == null) { this.date = null; } else { this.date = new DateTimeRfc1123(date); } return this; }
/** * Set the lastModified value. * * @param lastModified the lastModified value to set. * @return the PageBlobCopyIncrementalHeaders object itself. */ public PageBlobCopyIncrementalHeaders withLastModified(OffsetDateTime lastModified) { if (lastModified == null) { this.lastModified = null; } else { this.lastModified = new DateTimeRfc1123(lastModified); } return this; }
/** * Set the date value. * * @param date the date value to set. * @return the ContainerGetPropertiesHeaders object itself. */ public ContainerGetPropertiesHeaders withDate(OffsetDateTime date) { if (date == null) { this.date = null; } else { this.date = new DateTimeRfc1123(date); } return this; }
/** * Set the lastModified value. * * @param lastModified the lastModified value to set. * @return the ContainerSetMetadataHeaders object itself. */ public ContainerSetMetadataHeaders withLastModified(OffsetDateTime lastModified) { if (lastModified == null) { this.lastModified = null; } else { this.lastModified = new DateTimeRfc1123(lastModified); } return this; }
/** * Set the lastModified value. * * @param lastModified the lastModified value to set. * @return the BlobGetPropertiesHeaders object itself. */ public BlobGetPropertiesHeaders withLastModified(OffsetDateTime lastModified) { if (lastModified == null) { this.lastModified = null; } else { this.lastModified = new DateTimeRfc1123(lastModified); } return this; }