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
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
-
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.Builderavoiding the need to create one manually viaResourceSharePermissionDetail.builder().When the
Consumercompletes,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
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.