Interface AssociateDataShareConsumerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociateDataShareConsumerRequest.Builder,
,AssociateDataShareConsumerRequest> RedshiftRequest.Builder
,SdkBuilder<AssociateDataShareConsumerRequest.Builder,
,AssociateDataShareConsumerRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateDataShareConsumerRequest
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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.