Interface Workgroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Workgroup.Builder,
,Workgroup> SdkBuilder<Workgroup.Builder,
,Workgroup> SdkPojo
- Enclosing class:
Workgroup
-
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.creationDate
(Instant creationDate) The creation date of the workgroup.crossAccountVpcs
(String... crossAccountVpcs) A list of VPCs.crossAccountVpcs
(Collection<String> crossAccountVpcs) A list of VPCs.customDomainCertificateArn
(String customDomainCertificateArn) The custom domain name’s certificate Amazon resource name (ARN).customDomainCertificateExpiryTime
(Instant customDomainCertificateExpiryTime) The expiration time for the certificate.customDomainName
(String customDomainName) The custom domain name associated with the workgroup.default Workgroup.Builder
endpoint
(Consumer<Endpoint.Builder> endpoint) The endpoint that is created from the workgroup.The endpoint that is created from the workgroup.enhancedVpcRouting
(Boolean enhancedVpcRouting) The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.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 namespace the workgroup is associated with.patchVersion
(String patchVersion) The patch version of your Amazon Redshift Serverless workgroup.pendingTrackName
(String pendingTrackName) The name for the track that you want to assign to the workgroup.The custom port to use when connecting to a workgroup.default Workgroup.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 accessible 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.The status of the workgroup.status
(WorkgroupStatus status) The status of the workgroup.An array of subnet IDs the workgroup is associated with.subnetIds
(Collection<String> subnetIds) An array of subnet IDs the workgroup is associated with.The name of the track for the workgroup.workgroupArn
(String workgroupArn) The Amazon Resource Name (ARN) that links to the workgroup.workgroupId
(String workgroupId) The unique identifier of the workgroup.workgroupName
(String workgroupName) The name of the workgroup.workgroupVersion
(String workgroupVersion) The Amazon Redshift Serverless version of your workgroup.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
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:
-
creationDate
The creation date of the workgroup.
- Parameters:
creationDate
- The creation date of the workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossAccountVpcs
A list of VPCs. Each entry is the unique identifier of a virtual private cloud with access to Amazon Redshift Serverless. If all of the VPCs for the grantee are allowed, it shows an asterisk.
- Parameters:
crossAccountVpcs
- A list of VPCs. Each entry is the unique identifier of a virtual private cloud with access to Amazon Redshift Serverless. If all of the VPCs for the grantee are allowed, it shows an asterisk.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossAccountVpcs
A list of VPCs. Each entry is the unique identifier of a virtual private cloud with access to Amazon Redshift Serverless. If all of the VPCs for the grantee are allowed, it shows an asterisk.
- Parameters:
crossAccountVpcs
- A list of VPCs. Each entry is the unique identifier of a virtual private cloud with access to Amazon Redshift Serverless. If all of the VPCs for the grantee are allowed, it shows an asterisk.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDomainCertificateArn
The custom domain name’s certificate Amazon resource name (ARN).
- Parameters:
customDomainCertificateArn
- The custom domain name’s certificate Amazon resource name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDomainCertificateExpiryTime
The expiration time for the certificate.
- Parameters:
customDomainCertificateExpiryTime
- The expiration time for the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDomainName
The custom domain name associated with the workgroup.
- Parameters:
customDomainName
- The custom domain name associated with the workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
The endpoint that is created from the workgroup.
- Parameters:
endpoint
- The endpoint that is created from the workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
The endpoint that is created from the workgroup.
This is a convenience method that creates an instance of theEndpoint.Builder
avoiding the need to create one manually viaEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpoint(Endpoint)
.- Parameters:
endpoint
- a consumer that will call methods onEndpoint.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 enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
- Parameters:
enhancedVpcRouting
- The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.- 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 namespace the workgroup is associated with.
- Parameters:
namespaceName
- The namespace the workgroup is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchVersion
The patch version of your Amazon Redshift Serverless workgroup. For more information about patch versions, see Cluster versions for Amazon Redshift.
- Parameters:
patchVersion
- The patch version of your Amazon Redshift Serverless workgroup. For more information about patch versions, see Cluster versions for Amazon Redshift.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingTrackName
The name for the track that you want to assign to the workgroup. When the track changes, the workgroup is switched to the latest workgroup release available for the track. At this point, the track name is applied.
- Parameters:
pendingTrackName
- The name for the track that you want to assign to the workgroup. When the track changes, the workgroup is switched to the latest workgroup release available for the track. At this point, the track name is applied.- 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 Workgroup.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 accessible from a public network.
- Parameters:
publiclyAccessible
- A value that specifies whether the workgroup can be accessible 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.
-
status
The status of the workgroup.
- Parameters:
status
- The status of the workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the workgroup.
- Parameters:
status
- The status of the workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subnetIds
An array of subnet IDs the workgroup is associated with.
- Parameters:
subnetIds
- An array of subnet IDs the workgroup is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
An array of subnet IDs the workgroup is associated with.
- Parameters:
subnetIds
- An array of subnet IDs the workgroup is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trackName
The name of the track for the workgroup.
- Parameters:
trackName
- The name of the track for the workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workgroupArn
The Amazon Resource Name (ARN) that links to the workgroup.
- Parameters:
workgroupArn
- The Amazon Resource Name (ARN) that links to the workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workgroupId
The unique identifier of the workgroup.
- Parameters:
workgroupId
- The unique identifier of the workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workgroupName
The name of the workgroup.
- Parameters:
workgroupName
- The name of the workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workgroupVersion
The Amazon Redshift Serverless version of your workgroup. For more information about Amazon Redshift Serverless versions, seeCluster versions for Amazon Redshift.
- Parameters:
workgroupVersion
- The Amazon Redshift Serverless version of your workgroup. For more information about Amazon Redshift Serverless versions, seeCluster versions for Amazon Redshift.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-