Interface CreatePermissionVersionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreatePermissionVersionResponse.Builder,CreatePermissionVersionResponse>,RamResponse.Builder,SdkBuilder<CreatePermissionVersionResponse.Builder,CreatePermissionVersionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreatePermissionVersionResponse
public static interface CreatePermissionVersionResponse.Builder extends RamResponse.Builder, SdkPojo, CopyableBuilder<CreatePermissionVersionResponse.Builder,CreatePermissionVersionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreatePermissionVersionResponse.BuilderclientToken(String clientToken)The idempotency identifier associated with this request.default CreatePermissionVersionResponse.Builderpermission(Consumer<ResourceSharePermissionDetail.Builder> permission)Sets the value of the Permission property for this object.CreatePermissionVersionResponse.Builderpermission(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
permission
CreatePermissionVersionResponse.Builder permission(ResourceSharePermissionDetail permission)
Sets the value of the Permission property for this object.- Parameters:
permission- The new value for the Permission property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
permission(ResourceSharePermissionDetail)
-
clientToken
CreatePermissionVersionResponse.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.
-
-