Interface AssociateResourceShareResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AssociateResourceShareResponse.Builder,AssociateResourceShareResponse>,RamResponse.Builder,SdkBuilder<AssociateResourceShareResponse.Builder,AssociateResourceShareResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- AssociateResourceShareResponse
public static interface AssociateResourceShareResponse.Builder extends RamResponse.Builder, SdkPojo, CopyableBuilder<AssociateResourceShareResponse.Builder,AssociateResourceShareResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssociateResourceShareResponse.BuilderclientToken(String clientToken)The idempotency identifier associated with this request.AssociateResourceShareResponse.BuilderresourceShareAssociations(Collection<ResourceShareAssociation> resourceShareAssociations)An array of objects that contain information about the associations.AssociateResourceShareResponse.BuilderresourceShareAssociations(Consumer<ResourceShareAssociation.Builder>... resourceShareAssociations)An array of objects that contain information about the associations.AssociateResourceShareResponse.BuilderresourceShareAssociations(ResourceShareAssociation... resourceShareAssociations)An array of objects that contain information about the associations.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ram.model.RamResponse.Builder
build, responseMetadata, responseMetadata
-
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 Detail
-
resourceShareAssociations
AssociateResourceShareResponse.Builder resourceShareAssociations(Collection<ResourceShareAssociation> resourceShareAssociations)
An array of objects that contain information about the associations.
- Parameters:
resourceShareAssociations- An array of objects that contain information about the associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceShareAssociations
AssociateResourceShareResponse.Builder resourceShareAssociations(ResourceShareAssociation... resourceShareAssociations)
An array of objects that contain information about the associations.
- Parameters:
resourceShareAssociations- An array of objects that contain information about the associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceShareAssociations
AssociateResourceShareResponse.Builder resourceShareAssociations(Consumer<ResourceShareAssociation.Builder>... resourceShareAssociations)
An array of objects that contain information about the associations.
This is a convenience method that creates an instance of theResourceShareAssociation.Builderavoiding the need to create one manually viaResourceShareAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resourceShareAssociations(List.) - Parameters:
resourceShareAssociations- a consumer that will call methods onResourceShareAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#resourceShareAssociations(java.util.Collection)
-
clientToken
AssociateResourceShareResponse.Builder clientToken(String clientToken)
The idempotency identifier associated with this request. If you want to repeat the same operation in an idempotent manner then you must include this value in the
clientTokenrequest parameter of that later call. All other parameters must also have the same values that you used in the first call.- Parameters:
clientToken- The idempotency identifier associated with this request. If you want to repeat the same operation in an idempotent manner then you must include this value in theclientTokenrequest parameter of that later call. All other parameters must also have the same values that you used in the first call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-