Interface CreatePermissionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreatePermissionResponse.Builder,CreatePermissionResponse>,RamResponse.Builder,SdkBuilder<CreatePermissionResponse.Builder,CreatePermissionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreatePermissionResponse
public static interface CreatePermissionResponse.Builder extends RamResponse.Builder, SdkPojo, CopyableBuilder<CreatePermissionResponse.Builder,CreatePermissionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreatePermissionResponse.BuilderclientToken(String clientToken)The idempotency identifier associated with this request.default CreatePermissionResponse.Builderpermission(Consumer<ResourceSharePermissionSummary.Builder> permission)A structure with information about this customer managed permission.CreatePermissionResponse.Builderpermission(ResourceSharePermissionSummary permission)A structure with information about this customer managed permission.-
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
CreatePermissionResponse.Builder permission(ResourceSharePermissionSummary permission)
A structure with information about this customer managed permission.
- Parameters:
permission- A structure with information about this customer managed permission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permission
default CreatePermissionResponse.Builder permission(Consumer<ResourceSharePermissionSummary.Builder> permission)
A structure with information about this customer managed permission.
This is a convenience method that creates an instance of theResourceSharePermissionSummary.Builderavoiding the need to create one manually viaResourceSharePermissionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topermission(ResourceSharePermissionSummary).- Parameters:
permission- a consumer that will call methods onResourceSharePermissionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
permission(ResourceSharePermissionSummary)
-
clientToken
CreatePermissionResponse.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.
-
-