Interface CreatePermissionVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreatePermissionVersionResponse.Builder,
,CreatePermissionVersionResponse> RamResponse.Builder
,SdkBuilder<CreatePermissionVersionResponse.Builder,
,CreatePermissionVersionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreatePermissionVersionResponse
@Mutable
@NotThreadSafe
public static interface CreatePermissionVersionResponse.Builder
extends RamResponse.Builder, SdkPojo, CopyableBuilder<CreatePermissionVersionResponse.Builder,CreatePermissionVersionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) The idempotency identifier associated with this request.permission
(Consumer<ResourceSharePermissionDetail.Builder> permission) Sets the value of the Permission property for this object.permission
(ResourceSharePermissionDetail permission) Sets the value of the Permission property for this object.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
-
permission
default CreatePermissionVersionResponse.Builder permission(Consumer<ResourceSharePermissionDetail.Builder> permission) Sets the value of the Permission property for this object. This is a convenience method that creates an instance of theResourceSharePermissionDetail.Builder
avoiding the need to create one manually viaResourceSharePermissionDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topermission(ResourceSharePermissionDetail)
.- Parameters:
permission
- a consumer that will call methods onResourceSharePermissionDetail.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.