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 SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.ram.model.RamRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details
- 
nameIf 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.
 
- 
allowExternalPrincipalsSpecifies 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.
 
- 
clientTokenSpecifies 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 an- IdempotentParameterMismatcherror.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationUpdateResourceShareRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationUpdateResourceShareRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.