Interface AuthorizeDataShareRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<AuthorizeDataShareRequest.Builder,AuthorizeDataShareRequest>, RedshiftRequest.Builder, SdkBuilder<AuthorizeDataShareRequest.Builder,AuthorizeDataShareRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
AuthorizeDataShareRequest

public static interface AuthorizeDataShareRequest.Builder extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<AuthorizeDataShareRequest.Builder,AuthorizeDataShareRequest>
  • Method Details

    • dataShareArn

      AuthorizeDataShareRequest.Builder dataShareArn(String dataShareArn)

      The Amazon Resource Name (ARN) of the datashare namespace that producers are to authorize sharing for.

      Parameters:
      dataShareArn - The Amazon Resource Name (ARN) of the datashare namespace that producers are to authorize sharing for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • consumerIdentifier

      AuthorizeDataShareRequest.Builder consumerIdentifier(String consumerIdentifier)

      The identifier of the data consumer that is authorized to access the datashare. This identifier is an Amazon Web Services account ID or a keyword, such as ADX.

      Parameters:
      consumerIdentifier - The identifier of the data consumer that is authorized to access the datashare. This identifier is an Amazon Web Services account ID or a keyword, such as ADX.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowWrites

      AuthorizeDataShareRequest.Builder allowWrites(Boolean allowWrites)

      If set to true, allows write operations for a datashare.

      Parameters:
      allowWrites - If set to true, allows write operations for a datashare.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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