Interface UpdateResourceShareRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateResourceShareRequest.Builder,UpdateResourceShareRequest>,RamRequest.Builder,SdkBuilder<UpdateResourceShareRequest.Builder,UpdateResourceShareRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateResourceShareRequest
public static interface UpdateResourceShareRequest.Builder extends RamRequest.Builder, SdkPojo, CopyableBuilder<UpdateResourceShareRequest.Builder,UpdateResourceShareRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateResourceShareRequest.BuilderallowExternalPrincipals(Boolean allowExternalPrincipals)Specifies whether principals outside your organization in Organizations can be associated with a resource share.UpdateResourceShareRequest.BuilderclientToken(String clientToken)Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.UpdateResourceShareRequest.Buildername(String name)If specified, the new name that you want to attach to the resource share.UpdateResourceShareRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateResourceShareRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateResourceShareRequest.BuilderresourceShareArn(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 Detail
-
resourceShareArn
UpdateResourceShareRequest.Builder resourceShareArn(String resourceShareArn)
Specifies the Amazon Resource Name (ARN) of the resource share that you want to modify.
- Parameters:
resourceShareArn- Specifies the Amazon Resource Name (ARN) of the resource share that you want to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateResourceShareRequest.Builder name(String 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
UpdateResourceShareRequest.Builder allowExternalPrincipals(Boolean 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
UpdateResourceShareRequest.Builder clientToken(String 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 anIdempotentParameterMismatcherror.- 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 anIdempotentParameterMismatcherror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateResourceShareRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateResourceShareRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-