Interface BatchGetObjectAttributesResponse.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchGetObjectAttributesResponse.Builder,,BatchGetObjectAttributesResponse> SdkBuilder<BatchGetObjectAttributesResponse.Builder,,BatchGetObjectAttributesResponse> SdkPojo
- Enclosing class:
BatchGetObjectAttributesResponse
@Mutable
@NotThreadSafe
public static interface BatchGetObjectAttributesResponse.Builder
extends SdkPojo, CopyableBuilder<BatchGetObjectAttributesResponse.Builder,BatchGetObjectAttributesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Collection<AttributeKeyAndValue> attributes) The attribute values that are associated with an object.attributes(Consumer<AttributeKeyAndValue.Builder>... attributes) The attribute values that are associated with an object.attributes(AttributeKeyAndValue... attributes) The attribute values that are associated with an object.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
-
attributes
The attribute values that are associated with an object.
- Parameters:
attributes- The attribute values that are associated with an object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The attribute values that are associated with an object.
- Parameters:
attributes- The attribute values that are associated with an object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
BatchGetObjectAttributesResponse.Builder attributes(Consumer<AttributeKeyAndValue.Builder>... attributes) The attribute values that are associated with an object.
This is a convenience method that creates an instance of theAttributeKeyAndValue.Builderavoiding the need to create one manually viaAttributeKeyAndValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributes(List<AttributeKeyAndValue>).- Parameters:
attributes- a consumer that will call methods onAttributeKeyAndValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-