Interface UpdateResourceShareRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateResourceShareRequest.Builder,
,UpdateResourceShareRequest> RamRequest.Builder
,SdkBuilder<UpdateResourceShareRequest.Builder,
,UpdateResourceShareRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateResourceShareRequest
-
Method Summary
Modifier and TypeMethodDescriptionallowExternalPrincipals
(Boolean allowExternalPrincipals) Specifies whether principals outside your organization in Organizations can be associated with a resource share.clientToken
(String clientToken) Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.If specified, the new name that you want to attach to the resource share.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceShareArn
(String resourceShareArn) Specifies the Amazon Resource Name (ARN) of the resource share that you want to modify.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ram.model.RamRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
If specified, the new name that you want to attach to the resource share.
- Parameters:
name
- If specified, the new name that you want to attach to the resource share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowExternalPrincipals
Specifies whether principals outside your organization in Organizations can be associated with a resource share.
- Parameters:
allowExternalPrincipals
- Specifies whether principals outside your organization in Organizations can be associated with a resource share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same
ClientToken
, but with different parameters, the retry fails with anIdempotentParameterMismatch
error.- Parameters:
clientToken
- Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same
ClientToken
, but with different parameters, the retry fails with anIdempotentParameterMismatch
error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateResourceShareRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateResourceShareRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.