Interface ReplacePermissionAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ReplacePermissionAssociationsResponse.Builder,
,ReplacePermissionAssociationsResponse> RamResponse.Builder
,SdkBuilder<ReplacePermissionAssociationsResponse.Builder,
,ReplacePermissionAssociationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ReplacePermissionAssociationsResponse
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) The idempotency identifier associated with this request.replacePermissionAssociationsWork
(Consumer<ReplacePermissionAssociationsWork.Builder> replacePermissionAssociationsWork) Specifies a data structure that you can use to track the asynchronous tasks that RAM performs to complete this operation.replacePermissionAssociationsWork
(ReplacePermissionAssociationsWork replacePermissionAssociationsWork) Specifies a data structure that you can use to track the asynchronous tasks that RAM performs to complete this operation.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
replacePermissionAssociationsWork
ReplacePermissionAssociationsResponse.Builder replacePermissionAssociationsWork(ReplacePermissionAssociationsWork replacePermissionAssociationsWork) Specifies a data structure that you can use to track the asynchronous tasks that RAM performs to complete this operation. You can use the ListReplacePermissionAssociationsWork operation and pass the
id
value returned in this structure.- Parameters:
replacePermissionAssociationsWork
- Specifies a data structure that you can use to track the asynchronous tasks that RAM performs to complete this operation. You can use the ListReplacePermissionAssociationsWork operation and pass theid
value returned in this structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replacePermissionAssociationsWork
default ReplacePermissionAssociationsResponse.Builder replacePermissionAssociationsWork(Consumer<ReplacePermissionAssociationsWork.Builder> replacePermissionAssociationsWork) Specifies a data structure that you can use to track the asynchronous tasks that RAM performs to complete this operation. You can use the ListReplacePermissionAssociationsWork operation and pass the
This is a convenience method that creates an instance of theid
value returned in this structure.ReplacePermissionAssociationsWork.Builder
avoiding the need to create one manually viaReplacePermissionAssociationsWork.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplacePermissionAssociationsWork(ReplacePermissionAssociationsWork)
.- Parameters:
replacePermissionAssociationsWork
- a consumer that will call methods onReplacePermissionAssociationsWork.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
clientToken
request 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 theclientToken
request 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.
-