Interface GetObjectAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudDirectoryResponse.Builder
,CopyableBuilder<GetObjectAttributesResponse.Builder,
,GetObjectAttributesResponse> SdkBuilder<GetObjectAttributesResponse.Builder,
,GetObjectAttributesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetObjectAttributesResponse
public static interface GetObjectAttributesResponse.Builder
extends CloudDirectoryResponse.Builder, SdkPojo, CopyableBuilder<GetObjectAttributesResponse.Builder,GetObjectAttributesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Collection<AttributeKeyAndValue> attributes) The attributes that are associated with the object.attributes
(Consumer<AttributeKeyAndValue.Builder>... attributes) The attributes that are associated with the object.attributes
(AttributeKeyAndValue... attributes) The attributes that are associated with the object.Methods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
attributes
The attributes that are associated with the object.
- Parameters:
attributes
- The attributes that are associated with the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The attributes that are associated with the object.
- Parameters:
attributes
- The attributes that are associated with the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
GetObjectAttributesResponse.Builder attributes(Consumer<AttributeKeyAndValue.Builder>... attributes) The attributes that are associated with the 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:
-