Interface UpdatePermissionRequest.Builder

  • Method Details

    • permissionArn

      UpdatePermissionRequest.Builder permissionArn(String permissionArn)

      Specifies the Amazon Resource Name (ARN) of the customer managed permission that you want to update.

      Parameters:
      permissionArn - Specifies the Amazon Resource Name (ARN) of the customer managed permission that you want to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Specifies the new status for the permission. This can be one of the following values:

      • ATTACHABLE – Restores a previously deprecated permission so it can be associated with resource shares again.

      • DEPRECATED – Deprecates the permission so it can no longer be associated with new resource shares.

      Parameters:
      status - Specifies the new status for the permission. This can be one of the following values:

      • ATTACHABLE – Restores a previously deprecated permission so it can be associated with resource shares again.

      • DEPRECATED – Deprecates the permission so it can no longer be associated with new resource shares.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Specifies the new status for the permission. This can be one of the following values:

      • ATTACHABLE – Restores a previously deprecated permission so it can be associated with resource shares again.

      • DEPRECATED – Deprecates the permission so it can no longer be associated with new resource shares.

      Parameters:
      status - Specifies the new status for the permission. This can be one of the following values:

      • ATTACHABLE – Restores a previously deprecated permission so it can be associated with resource shares again.

      • DEPRECATED – Deprecates the permission so it can no longer be associated with new resource shares.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clientToken

      UpdatePermissionRequest.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

      UpdatePermissionRequest.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.