Interface CreateWorkgroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWorkgroupRequest.Builder,CreateWorkgroupRequest>,RedshiftServerlessRequest.Builder,SdkBuilder<CreateWorkgroupRequest.Builder,CreateWorkgroupRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateWorkgroupRequest
public static interface CreateWorkgroupRequest.Builder extends RedshiftServerlessRequest.Builder, SdkPojo, CopyableBuilder<CreateWorkgroupRequest.Builder,CreateWorkgroupRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateWorkgroupRequest.BuilderbaseCapacity(Integer baseCapacity)The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).CreateWorkgroupRequest.BuilderconfigParameters(Collection<ConfigParameter> configParameters)An array of parameters to set for advanced control over a database.CreateWorkgroupRequest.BuilderconfigParameters(Consumer<ConfigParameter.Builder>... configParameters)An array of parameters to set for advanced control over a database.CreateWorkgroupRequest.BuilderconfigParameters(ConfigParameter... configParameters)An array of parameters to set for advanced control over a database.CreateWorkgroupRequest.BuilderenhancedVpcRouting(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.CreateWorkgroupRequest.BuildermaxCapacity(Integer maxCapacity)The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries.CreateWorkgroupRequest.BuildernamespaceName(String namespaceName)The name of the namespace to associate with the workgroup.CreateWorkgroupRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateWorkgroupRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateWorkgroupRequest.Builderport(Integer port)The custom port to use when connecting to a workgroup.CreateWorkgroupRequest.BuilderpubliclyAccessible(Boolean publiclyAccessible)A value that specifies whether the workgroup can be accessed from a public network.CreateWorkgroupRequest.BuildersecurityGroupIds(String... securityGroupIds)An array of security group IDs to associate with the workgroup.CreateWorkgroupRequest.BuildersecurityGroupIds(Collection<String> securityGroupIds)An array of security group IDs to associate with the workgroup.CreateWorkgroupRequest.BuildersubnetIds(String... subnetIds)An array of VPC subnet IDs to associate with the workgroup.CreateWorkgroupRequest.BuildersubnetIds(Collection<String> subnetIds)An array of VPC subnet IDs to associate with the workgroup.CreateWorkgroupRequest.Buildertags(Collection<Tag> tags)A array of tag instances.CreateWorkgroupRequest.Buildertags(Consumer<Tag.Builder>... tags)A array of tag instances.CreateWorkgroupRequest.Buildertags(Tag... tags)A array of tag instances.CreateWorkgroupRequest.BuilderworkgroupName(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, sdkFields
-
-
-
-
Method Detail
-
baseCapacity
CreateWorkgroupRequest.Builder baseCapacity(Integer 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
CreateWorkgroupRequest.Builder configParameters(Collection<ConfigParameter> 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, 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, 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(ConfigParameter... 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, 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, 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, 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.Builderavoiding the need to create one manually viaConfigParameter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#configParameters(List.) - 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:
#configParameters(java.util.Collection)
-
enhancedVpcRouting
CreateWorkgroupRequest.Builder 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.
- 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.
-
maxCapacity
CreateWorkgroupRequest.Builder maxCapacity(Integer 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
CreateWorkgroupRequest.Builder namespaceName(String 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
CreateWorkgroupRequest.Builder port(Integer 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.
-
publiclyAccessible
CreateWorkgroupRequest.Builder publiclyAccessible(Boolean 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
CreateWorkgroupRequest.Builder securityGroupIds(Collection<String> 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
CreateWorkgroupRequest.Builder securityGroupIds(String... 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
CreateWorkgroupRequest.Builder subnetIds(Collection<String> 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
CreateWorkgroupRequest.Builder subnetIds(String... 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
CreateWorkgroupRequest.Builder tags(Collection<Tag> 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
CreateWorkgroupRequest.Builder tags(Tag... 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
CreateWorkgroupRequest.Builder tags(Consumer<Tag.Builder>... tags)
A array of tag instances.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
workgroupName
CreateWorkgroupRequest.Builder workgroupName(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateWorkgroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-