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
copyMethods inherited from interface software.amazon.awssdk.services.ram.model.RamResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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
idvalue 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 theidvalue 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 theidvalue returned in this structure.ReplacePermissionAssociationsWork.Builderavoiding the need to create one manually viaReplacePermissionAssociationsWork.builder().When the
Consumercompletes,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
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.
-