Interface GetLinkAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudDirectoryResponse.Builder,CopyableBuilder<GetLinkAttributesResponse.Builder,,GetLinkAttributesResponse> SdkBuilder<GetLinkAttributesResponse.Builder,,GetLinkAttributesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetLinkAttributesResponse
public static interface GetLinkAttributesResponse.Builder
extends CloudDirectoryResponse.Builder, SdkPojo, CopyableBuilder<GetLinkAttributesResponse.Builder,GetLinkAttributesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Collection<AttributeKeyAndValue> attributes) The attributes that are associated with the typed link.attributes(Consumer<AttributeKeyAndValue.Builder>... attributes) The attributes that are associated with the typed link.attributes(AttributeKeyAndValue... attributes) The attributes that are associated with the typed link.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
The attributes that are associated with the typed link.
- Parameters:
attributes- The attributes that are associated with the typed link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The attributes that are associated with the typed link.
- Parameters:
attributes- The attributes that are associated with the typed link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The attributes that are associated with the typed link.
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:
-