Interface RegisterNamespaceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RegisterNamespaceRequest.Builder,,RegisterNamespaceRequest> RedshiftRequest.Builder,SdkBuilder<RegisterNamespaceRequest.Builder,,RegisterNamespaceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RegisterNamespaceRequest
@Mutable
@NotThreadSafe
public static interface RegisterNamespaceRequest.Builder
extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<RegisterNamespaceRequest.Builder,RegisterNamespaceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconsumerIdentifiers(String... consumerIdentifiers) An array containing the ID of the consumer account that you want to register the namespace to.consumerIdentifiers(Collection<String> consumerIdentifiers) An array containing the ID of the consumer account that you want to register the namespace to.default RegisterNamespaceRequest.BuildernamespaceIdentifier(Consumer<NamespaceIdentifierUnion.Builder> namespaceIdentifier) The unique identifier of the cluster or serverless namespace that you want to register.namespaceIdentifier(NamespaceIdentifierUnion namespaceIdentifier) The unique identifier of the cluster or serverless namespace that you want to register.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
-
namespaceIdentifier
The unique identifier of the cluster or serverless namespace that you want to register.
- Parameters:
namespaceIdentifier- The unique identifier of the cluster or serverless namespace that you want to register.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaceIdentifier
default RegisterNamespaceRequest.Builder namespaceIdentifier(Consumer<NamespaceIdentifierUnion.Builder> namespaceIdentifier) The unique identifier of the cluster or serverless namespace that you want to register.
This is a convenience method that creates an instance of theNamespaceIdentifierUnion.Builderavoiding the need to create one manually viaNamespaceIdentifierUnion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonamespaceIdentifier(NamespaceIdentifierUnion).- Parameters:
namespaceIdentifier- a consumer that will call methods onNamespaceIdentifierUnion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
consumerIdentifiers
An array containing the ID of the consumer account that you want to register the namespace to.
- Parameters:
consumerIdentifiers- An array containing the ID of the consumer account that you want to register the namespace to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumerIdentifiers
An array containing the ID of the consumer account that you want to register the namespace to.
- Parameters:
consumerIdentifiers- An array containing the ID of the consumer account that you want to register the namespace to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RegisterNamespaceRequest.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
RegisterNamespaceRequest.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.
-