Interface ListObjectAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudDirectoryResponse.Builder,CopyableBuilder<ListObjectAttributesResponse.Builder,,ListObjectAttributesResponse> SdkBuilder<ListObjectAttributesResponse.Builder,,ListObjectAttributesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListObjectAttributesResponse
public static interface ListObjectAttributesResponse.Builder
extends CloudDirectoryResponse.Builder, SdkPojo, CopyableBuilder<ListObjectAttributesResponse.Builder,ListObjectAttributesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Collection<AttributeKeyAndValue> attributes) Attributes map that is associated with the object.attributes(Consumer<AttributeKeyAndValue.Builder>... attributes) Attributes map that is associated with the object.attributes(AttributeKeyAndValue... attributes) Attributes map that is associated with the object.The pagination token.Methods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
attributes
Attributes map that is associated with the object.
AttributeArnis the key, and attribute value is the value.- Parameters:
attributes- Attributes map that is associated with the object.AttributeArnis the key, and attribute value is the value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Attributes map that is associated with the object.
AttributeArnis the key, and attribute value is the value.- Parameters:
attributes- Attributes map that is associated with the object.AttributeArnis the key, and attribute value is the value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
ListObjectAttributesResponse.Builder attributes(Consumer<AttributeKeyAndValue.Builder>... attributes) Attributes map that is associated with the object.
This is a convenience method that creates an instance of theAttributeArnis the key, and attribute value is the value.AttributeKeyAndValue.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:
-
nextToken
The pagination token.
- Parameters:
nextToken- The pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-