Interface AssociateDataShareConsumerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssociateDataShareConsumerRequest.Builder,,AssociateDataShareConsumerRequest> RedshiftRequest.Builder,SdkBuilder<AssociateDataShareConsumerRequest.Builder,,AssociateDataShareConsumerRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AssociateDataShareConsumerRequest
@Mutable
@NotThreadSafe
public static interface AssociateDataShareConsumerRequest.Builder
extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<AssociateDataShareConsumerRequest.Builder,AssociateDataShareConsumerRequest>
-
Method Summary
Modifier and TypeMethodDescriptionallowWrites(Boolean allowWrites) If set to true, allows write operations for a datashare.associateEntireAccount(Boolean associateEntireAccount) A value that specifies whether the datashare is associated with the entire account.consumerArn(String consumerArn) The Amazon Resource Name (ARN) of the consumer namespace associated with the datashare.consumerRegion(String consumerRegion) From a datashare consumer account, associates a datashare with all existing and future namespaces in the specified Amazon Web Services Region.dataShareArn(String dataShareArn) The Amazon Resource Name (ARN) of the datashare that the consumer is to use.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
associateEntireAccount
A value that specifies whether the datashare is associated with the entire account.
- Parameters:
associateEntireAccount- A value that specifies whether the datashare is associated with the entire account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumerArn
The Amazon Resource Name (ARN) of the consumer namespace associated with the datashare.
- Parameters:
consumerArn- The Amazon Resource Name (ARN) of the consumer namespace associated with the datashare.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumerRegion
From a datashare consumer account, associates a datashare with all existing and future namespaces in the specified Amazon Web Services Region.
- Parameters:
consumerRegion- From a datashare consumer account, associates a datashare with all existing and future namespaces in the specified Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
AssociateDataShareConsumerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateDataShareConsumerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.