Interface Metadata.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Metadata.Builder,Metadata>, SdkBuilder<Metadata.Builder,Metadata>, SdkPojo
Enclosing class:
Metadata

@Mutable @NotThreadSafe public static interface Metadata.Builder extends SdkPojo, CopyableBuilder<Metadata.Builder,Metadata>
  • Method Details

    • eTag

      The entity tag (ETag) of the file.
      Parameters:
      eTag - The entity tag (ETag) of the file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fileSize

      Metadata.Builder fileSize(Long fileSize)
      The size of the media file, in bytes.
      Parameters:
      fileSize - The size of the media file, in bytes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModified

      Metadata.Builder lastModified(Instant lastModified)
      The last modification timestamp of the media file, in Unix time.
      Parameters:
      lastModified - The last modification timestamp of the media file, in Unix time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mimeType

      Metadata.Builder mimeType(String mimeType)
      The MIME type of the media file.
      Parameters:
      mimeType - The MIME type of the media file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.