@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWorkgroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateWorkgroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateWorkgroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getBaseCapacity()
The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
|
List<ConfigParameter> |
getConfigParameters()
An array of parameters to set for advanced control over a database.
|
Boolean |
getEnhancedVpcRouting()
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.
|
String |
getIpAddressType()
The IP address type that the workgroup supports.
|
Integer |
getMaxCapacity()
The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries.
|
String |
getNamespaceName()
The name of the namespace to associate with the workgroup.
|
Integer |
getPort()
The custom port to use when connecting to a workgroup.
|
Boolean |
getPubliclyAccessible()
A value that specifies whether the workgroup can be accessed from a public network.
|
List<String> |
getSecurityGroupIds()
An array of security group IDs to associate with the workgroup.
|
List<String> |
getSubnetIds()
An array of VPC subnet IDs to associate with the workgroup.
|
List<Tag> |
getTags()
A array of tag instances.
|
String |
getWorkgroupName()
The name of the created workgroup.
|
int |
hashCode() |
Boolean |
isEnhancedVpcRouting()
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.
|
Boolean |
isPubliclyAccessible()
A value that specifies whether the workgroup can be accessed from a public network.
|
void |
setBaseCapacity(Integer baseCapacity)
The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
|
void |
setConfigParameters(Collection<ConfigParameter> configParameters)
An array of parameters to set for advanced control over a database.
|
void |
setEnhancedVpcRouting(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.
|
void |
setIpAddressType(String ipAddressType)
The IP address type that the workgroup supports.
|
void |
setMaxCapacity(Integer maxCapacity)
The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries.
|
void |
setNamespaceName(String namespaceName)
The name of the namespace to associate with the workgroup.
|
void |
setPort(Integer port)
The custom port to use when connecting to a workgroup.
|
void |
setPubliclyAccessible(Boolean publiclyAccessible)
A value that specifies whether the workgroup can be accessed from a public network.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
An array of security group IDs to associate with the workgroup.
|
void |
setSubnetIds(Collection<String> subnetIds)
An array of VPC subnet IDs to associate with the workgroup.
|
void |
setTags(Collection<Tag> tags)
A array of tag instances.
|
void |
setWorkgroupName(String workgroupName)
The name of the created workgroup.
|
String |
toString()
Returns a string representation of this object.
|
CreateWorkgroupRequest |
withBaseCapacity(Integer baseCapacity)
The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
|
CreateWorkgroupRequest |
withConfigParameters(Collection<ConfigParameter> configParameters)
An array of parameters to set for advanced control over a database.
|
CreateWorkgroupRequest |
withConfigParameters(ConfigParameter... configParameters)
An array of parameters to set for advanced control over a database.
|
CreateWorkgroupRequest |
withEnhancedVpcRouting(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 |
withIpAddressType(String ipAddressType)
The IP address type that the workgroup supports.
|
CreateWorkgroupRequest |
withMaxCapacity(Integer maxCapacity)
The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries.
|
CreateWorkgroupRequest |
withNamespaceName(String namespaceName)
The name of the namespace to associate with the workgroup.
|
CreateWorkgroupRequest |
withPort(Integer port)
The custom port to use when connecting to a workgroup.
|
CreateWorkgroupRequest |
withPubliclyAccessible(Boolean publiclyAccessible)
A value that specifies whether the workgroup can be accessed from a public network.
|
CreateWorkgroupRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
An array of security group IDs to associate with the workgroup.
|
CreateWorkgroupRequest |
withSecurityGroupIds(String... securityGroupIds)
An array of security group IDs to associate with the workgroup.
|
CreateWorkgroupRequest |
withSubnetIds(Collection<String> subnetIds)
An array of VPC subnet IDs to associate with the workgroup.
|
CreateWorkgroupRequest |
withSubnetIds(String... subnetIds)
An array of VPC subnet IDs to associate with the workgroup.
|
CreateWorkgroupRequest |
withTags(Collection<Tag> tags)
A array of tag instances.
|
CreateWorkgroupRequest |
withTags(Tag... tags)
A array of tag instances.
|
CreateWorkgroupRequest |
withWorkgroupName(String workgroupName)
The name of the created workgroup.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setBaseCapacity(Integer baseCapacity)
The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
baseCapacity
- The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).public Integer getBaseCapacity()
The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
public CreateWorkgroupRequest withBaseCapacity(Integer baseCapacity)
The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
baseCapacity
- The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).public List<ConfigParameter> getConfigParameters()
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.
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.public void setConfigParameters(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
, 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.
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.public CreateWorkgroupRequest withConfigParameters(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
, 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.
NOTE: This method appends the values to the existing list (if any). Use
setConfigParameters(java.util.Collection)
or withConfigParameters(java.util.Collection)
if you
want to override the existing values.
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.public CreateWorkgroupRequest withConfigParameters(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
, 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.
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.public void setEnhancedVpcRouting(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.
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.public Boolean getEnhancedVpcRouting()
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.
public CreateWorkgroupRequest withEnhancedVpcRouting(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.
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.public Boolean isEnhancedVpcRouting()
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.
public void setIpAddressType(String ipAddressType)
The IP address type that the workgroup supports. Possible values are ipv4
and dualstack
.
ipAddressType
- The IP address type that the workgroup supports. Possible values are ipv4
and
dualstack
.public String getIpAddressType()
The IP address type that the workgroup supports. Possible values are ipv4
and dualstack
.
ipv4
and
dualstack
.public CreateWorkgroupRequest withIpAddressType(String ipAddressType)
The IP address type that the workgroup supports. Possible values are ipv4
and dualstack
.
ipAddressType
- The IP address type that the workgroup supports. Possible values are ipv4
and
dualstack
.public void setMaxCapacity(Integer maxCapacity)
The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.
maxCapacity
- The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is
specified in RPUs.public Integer getMaxCapacity()
The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.
public CreateWorkgroupRequest withMaxCapacity(Integer maxCapacity)
The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.
maxCapacity
- The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is
specified in RPUs.public void setNamespaceName(String namespaceName)
The name of the namespace to associate with the workgroup.
namespaceName
- The name of the namespace to associate with the workgroup.public String getNamespaceName()
The name of the namespace to associate with the workgroup.
public CreateWorkgroupRequest withNamespaceName(String namespaceName)
The name of the namespace to associate with the workgroup.
namespaceName
- The name of the namespace to associate with the workgroup.public void setPort(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.
port
- The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The
default is 5439.public Integer getPort()
The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
public CreateWorkgroupRequest withPort(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.
port
- The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The
default is 5439.public void setPubliclyAccessible(Boolean publiclyAccessible)
A value that specifies whether the workgroup can be accessed from a public network.
publiclyAccessible
- A value that specifies whether the workgroup can be accessed from a public network.public Boolean getPubliclyAccessible()
A value that specifies whether the workgroup can be accessed from a public network.
public CreateWorkgroupRequest withPubliclyAccessible(Boolean publiclyAccessible)
A value that specifies whether the workgroup can be accessed from a public network.
publiclyAccessible
- A value that specifies whether the workgroup can be accessed from a public network.public Boolean isPubliclyAccessible()
A value that specifies whether the workgroup can be accessed from a public network.
public List<String> getSecurityGroupIds()
An array of security group IDs to associate with the workgroup.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
An array of security group IDs to associate with the workgroup.
securityGroupIds
- An array of security group IDs to associate with the workgroup.public CreateWorkgroupRequest withSecurityGroupIds(String... securityGroupIds)
An array of security group IDs to associate with the workgroup.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- An array of security group IDs to associate with the workgroup.public CreateWorkgroupRequest withSecurityGroupIds(Collection<String> securityGroupIds)
An array of security group IDs to associate with the workgroup.
securityGroupIds
- An array of security group IDs to associate with the workgroup.public List<String> getSubnetIds()
An array of VPC subnet IDs to associate with the workgroup.
public void setSubnetIds(Collection<String> subnetIds)
An array of VPC subnet IDs to associate with the workgroup.
subnetIds
- An array of VPC subnet IDs to associate with the workgroup.public CreateWorkgroupRequest withSubnetIds(String... subnetIds)
An array of VPC subnet IDs to associate with the workgroup.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- An array of VPC subnet IDs to associate with the workgroup.public CreateWorkgroupRequest withSubnetIds(Collection<String> subnetIds)
An array of VPC subnet IDs to associate with the workgroup.
subnetIds
- An array of VPC subnet IDs to associate with the workgroup.public void setTags(Collection<Tag> tags)
A array of tag instances.
tags
- A array of tag instances.public CreateWorkgroupRequest withTags(Tag... tags)
A array of tag instances.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A array of tag instances.public CreateWorkgroupRequest withTags(Collection<Tag> tags)
A array of tag instances.
tags
- A array of tag instances.public void setWorkgroupName(String workgroupName)
The name of the created workgroup.
workgroupName
- The name of the created workgroup.public String getWorkgroupName()
The name of the created workgroup.
public CreateWorkgroupRequest withWorkgroupName(String workgroupName)
The name of the created workgroup.
workgroupName
- The name of the created workgroup.public String toString()
toString
in class Object
Object.toString()
public CreateWorkgroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()