Interface BatchGetObjectAttributesResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchGetObjectAttributesResponse.Builder,
,BatchGetObjectAttributesResponse> SdkBuilder<BatchGetObjectAttributesResponse.Builder,
,BatchGetObjectAttributesResponse> SdkPojo
- Enclosing class:
BatchGetObjectAttributesResponse
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
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
-
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.Builder
avoiding the need to create one manually viaAttributeKeyAndValue.builder()
.When the
Consumer
completes,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:
-