Interface Item.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Item.Builder,Item>,SdkBuilder<Item.Builder,Item>,SdkPojo
- Enclosing class:
- Item
public static interface Item.Builder extends SdkPojo, CopyableBuilder<Item.Builder,Item>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Item.BuildercontentLength(Long contentLength)The length of the item in bytes.Item.BuildercontentType(String contentType)The content type of the item.Item.BuildereTag(String eTag)The ETag that represents a unique instance of the item.Item.BuilderlastModified(Instant lastModified)The date and time that the item was last modified.Item.Buildername(String name)The name of the item.Item.Buildertype(String type)The item type (folder or object).Item.Buildertype(ItemType type)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 Detail
-
name
Item.Builder name(String 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
Item.Builder type(String type)
The item type (folder or object).
-
type
Item.Builder type(ItemType type)
The item type (folder or object).
-
eTag
Item.Builder eTag(String 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
Item.Builder lastModified(Instant 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
Item.Builder contentType(String 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
Item.Builder contentLength(Long 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.
-
-