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 Summary
Modifier and TypeMethodDescriptionallowWrites
(Boolean allowWrites) If set to true, allows write operations for a datashare.consumerIdentifier
(String consumerIdentifier) The identifier of the data consumer that is authorized to access the datashare.dataShareArn
(String dataShareArn) The Amazon Resource Name (ARN) of the datashare namespace that producers are to authorize sharing for.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
-
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
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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AuthorizeDataShareRequest.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.