Interface Item.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Item.Builder,
,Item> SdkBuilder<Item.Builder,
,Item> SdkPojo
- Enclosing class:
Item
-
Method Summary
Modifier and TypeMethodDescriptioncontentLength
(Long contentLength) The length of the item in bytes.contentType
(String contentType) The content type of the item.The ETag that represents a unique instance of the item.lastModified
(Instant lastModified) The date and time that the item was last modified.The name of the item.The item type (folder or object).The item type (folder or object).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the item.
- Parameters:
name
- The name of the item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The item type (folder or object).
- Parameters:
type
- The item type (folder or object).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The item type (folder or object).
- Parameters:
type
- The item type (folder or object).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eTag
The ETag that represents a unique instance of the item.
- Parameters:
eTag
- The ETag that represents a unique instance of the item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModified
The date and time that the item was last modified.
- Parameters:
lastModified
- The date and time that the item was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
The content type of the item.
- Parameters:
contentType
- The content type of the item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentLength
The length of the item in bytes.
- Parameters:
contentLength
- The length of the item in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-