Interface MetadataInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MetadataInfo.Builder,
,MetadataInfo> SdkBuilder<MetadataInfo.Builder,
,MetadataInfo> SdkPojo
- Enclosing class:
MetadataInfo
public static interface MetadataInfo.Builder
extends SdkPojo, CopyableBuilder<MetadataInfo.Builder,MetadataInfo>
-
Method Summary
Modifier and TypeMethodDescriptioncreatedTime
(String createdTime) The time at which the entry was created.metadataValue
(String metadataValue) The metadata key’s corresponding value.otherMetadataValueList
(Collection<OtherMetadataValueListItem> otherMetadataValueList) Other metadata belonging to the same metadata key.otherMetadataValueList
(Consumer<OtherMetadataValueListItem.Builder>... otherMetadataValueList) Other metadata belonging to the same metadata key.otherMetadataValueList
(OtherMetadataValueListItem... otherMetadataValueList) Other metadata belonging to the same metadata key.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
-
metadataValue
The metadata key’s corresponding value.
- Parameters:
metadataValue
- The metadata key’s corresponding value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
The time at which the entry was created.
- Parameters:
createdTime
- The time at which the entry was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
otherMetadataValueList
MetadataInfo.Builder otherMetadataValueList(Collection<OtherMetadataValueListItem> otherMetadataValueList) Other metadata belonging to the same metadata key.
- Parameters:
otherMetadataValueList
- Other metadata belonging to the same metadata key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
otherMetadataValueList
Other metadata belonging to the same metadata key.
- Parameters:
otherMetadataValueList
- Other metadata belonging to the same metadata key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
otherMetadataValueList
MetadataInfo.Builder otherMetadataValueList(Consumer<OtherMetadataValueListItem.Builder>... otherMetadataValueList) Other metadata belonging to the same metadata key.
This is a convenience method that creates an instance of theOtherMetadataValueListItem.Builder
avoiding the need to create one manually viaOtherMetadataValueListItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tootherMetadataValueList(List<OtherMetadataValueListItem>)
.- Parameters:
otherMetadataValueList
- a consumer that will call methods onOtherMetadataValueListItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-