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 Details

    • 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

      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 an IdempotentParameterMismatch 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 an IdempotentParameterMismatch 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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.