Interface MetadataAttribute.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetadataAttribute.Builder,,MetadataAttribute> SdkBuilder<MetadataAttribute.Builder,,MetadataAttribute> SdkPojo
- Enclosing class:
MetadataAttribute
@Mutable
@NotThreadSafe
public static interface MetadataAttribute.Builder
extends SdkPojo, CopyableBuilder<MetadataAttribute.Builder,MetadataAttribute>
-
Method Summary
Modifier and TypeMethodDescriptionThe key of the metadata attribute.default MetadataAttribute.BuilderContains the value of the metadata attribute.value(MetadataAttributeValue value) Contains the value of the metadata attribute.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
key
The key of the metadata attribute.
- Parameters:
key- The key of the metadata attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
Contains the value of the metadata attribute.
- Parameters:
value- Contains the value of the metadata attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
Contains the value of the metadata attribute.
This is a convenience method that creates an instance of theMetadataAttributeValue.Builderavoiding the need to create one manually viaMetadataAttributeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalue(MetadataAttributeValue).- Parameters:
value- a consumer that will call methods onMetadataAttributeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-