Interface CreateWorkgroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateWorkgroupRequest.Builder,
,CreateWorkgroupRequest> RedshiftServerlessRequest.Builder
,SdkBuilder<CreateWorkgroupRequest.Builder,
,CreateWorkgroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateWorkgroupRequest
-
Method Summary
Modifier and TypeMethodDescriptionbaseCapacity
(Integer baseCapacity) The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).configParameters
(Collection<ConfigParameter> configParameters) An array of parameters to set for advanced control over a database.configParameters
(Consumer<ConfigParameter.Builder>... configParameters) An array of parameters to set for advanced control over a database.configParameters
(ConfigParameter... configParameters) An array of parameters to set for advanced control over a database.enhancedVpcRouting
(Boolean enhancedVpcRouting) The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.ipAddressType
(String ipAddressType) The IP address type that the workgroup supports.maxCapacity
(Integer maxCapacity) The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries.namespaceName
(String namespaceName) The name of the namespace to associate with the workgroup.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The custom port to use when connecting to a workgroup.default CreateWorkgroupRequest.Builder
pricePerformanceTarget
(Consumer<PerformanceTarget.Builder> pricePerformanceTarget) An object that represents the price performance target settings for the workgroup.pricePerformanceTarget
(PerformanceTarget pricePerformanceTarget) An object that represents the price performance target settings for the workgroup.publiclyAccessible
(Boolean publiclyAccessible) A value that specifies whether the workgroup can be accessed from a public network.securityGroupIds
(String... securityGroupIds) An array of security group IDs to associate with the workgroup.securityGroupIds
(Collection<String> securityGroupIds) An array of security group IDs to associate with the workgroup.An array of VPC subnet IDs to associate with the workgroup.subnetIds
(Collection<String> subnetIds) An array of VPC subnet IDs to associate with the workgroup.tags
(Collection<Tag> tags) A array of tag instances.tags
(Consumer<Tag.Builder>... tags) A array of tag instances.A array of tag instances.An optional parameter for the name of the track for the workgroup.workgroupName
(String workgroupName) The name of the created workgroup.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.redshiftserverless.model.RedshiftServerlessRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
baseCapacity
The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
- Parameters:
baseCapacity
- The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configParameters
An array of parameters to set for advanced control over a database. The options are
auto_mv
,datestyle
,enable_case_sensitive_identifier
,enable_user_activity_logging
,query_group
,search_path
,require_ssl
,use_fips_ssl
, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.- Parameters:
configParameters
- An array of parameters to set for advanced control over a database. The options areauto_mv
,datestyle
,enable_case_sensitive_identifier
,enable_user_activity_logging
,query_group
,search_path
,require_ssl
,use_fips_ssl
, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configParameters
An array of parameters to set for advanced control over a database. The options are
auto_mv
,datestyle
,enable_case_sensitive_identifier
,enable_user_activity_logging
,query_group
,search_path
,require_ssl
,use_fips_ssl
, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.- Parameters:
configParameters
- An array of parameters to set for advanced control over a database. The options areauto_mv
,datestyle
,enable_case_sensitive_identifier
,enable_user_activity_logging
,query_group
,search_path
,require_ssl
,use_fips_ssl
, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configParameters
CreateWorkgroupRequest.Builder configParameters(Consumer<ConfigParameter.Builder>... configParameters) An array of parameters to set for advanced control over a database. The options are
This is a convenience method that creates an instance of theauto_mv
,datestyle
,enable_case_sensitive_identifier
,enable_user_activity_logging
,query_group
,search_path
,require_ssl
,use_fips_ssl
, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.ConfigParameter.Builder
avoiding the need to create one manually viaConfigParameter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfigParameters(List<ConfigParameter>)
.- Parameters:
configParameters
- a consumer that will call methods onConfigParameter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enhancedVpcRouting
The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.
- Parameters:
enhancedVpcRouting
- The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddressType
The IP address type that the workgroup supports. Possible values are
ipv4
anddualstack
.- Parameters:
ipAddressType
- The IP address type that the workgroup supports. Possible values areipv4
anddualstack
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxCapacity
The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.
- Parameters:
maxCapacity
- The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaceName
The name of the namespace to associate with the workgroup.
- Parameters:
namespaceName
- The name of the namespace to associate with the workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
- Parameters:
port
- The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pricePerformanceTarget
An object that represents the price performance target settings for the workgroup.
- Parameters:
pricePerformanceTarget
- An object that represents the price performance target settings for the workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pricePerformanceTarget
default CreateWorkgroupRequest.Builder pricePerformanceTarget(Consumer<PerformanceTarget.Builder> pricePerformanceTarget) An object that represents the price performance target settings for the workgroup.
This is a convenience method that creates an instance of thePerformanceTarget.Builder
avoiding the need to create one manually viaPerformanceTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topricePerformanceTarget(PerformanceTarget)
.- Parameters:
pricePerformanceTarget
- a consumer that will call methods onPerformanceTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
publiclyAccessible
A value that specifies whether the workgroup can be accessed from a public network.
- Parameters:
publiclyAccessible
- A value that specifies whether the workgroup can be accessed from a public network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
An array of security group IDs to associate with the workgroup.
- Parameters:
securityGroupIds
- An array of security group IDs to associate with the workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
An array of security group IDs to associate with the workgroup.
- Parameters:
securityGroupIds
- An array of security group IDs to associate with the workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
An array of VPC subnet IDs to associate with the workgroup.
- Parameters:
subnetIds
- An array of VPC subnet IDs to associate with the workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
An array of VPC subnet IDs to associate with the workgroup.
- Parameters:
subnetIds
- An array of VPC subnet IDs to associate with the workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A array of tag instances.
- Parameters:
tags
- A array of tag instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A array of tag instances.
- Parameters:
tags
- A array of tag instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A array of tag instances.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trackName
An optional parameter for the name of the track for the workgroup. If you don't provide a track name, the workgroup is assigned to the
current
track.- Parameters:
trackName
- An optional parameter for the name of the track for the workgroup. If you don't provide a track name, the workgroup is assigned to thecurrent
track.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workgroupName
The name of the created workgroup.
- Parameters:
workgroupName
- The name of the created workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateWorkgroupRequest.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
CreateWorkgroupRequest.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.
-