@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 more control over a serverless 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 |
getNamespaceName()
The name of the namespace to associate with the 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 more control over a serverless 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 |
setNamespaceName(String namespaceName)
The name of the namespace to associate with the 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 more control over a serverless database.
|
CreateWorkgroupRequest |
withConfigParameters(ConfigParameter... configParameters)
An array of parameters to set for more control over a serverless 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 |
withNamespaceName(String namespaceName)
The name of the namespace to associate with the 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 more control over a serverless database. The options are datestyle
, enable_user_activity_logging
, query_group
, search_path
, and
max_query_execution_time
.
datestyle
, enable_user_activity_logging
, query_group
,
search_path
, and max_query_execution_time
.public void setConfigParameters(Collection<ConfigParameter> configParameters)
An array of parameters to set for more control over a serverless database. The options are datestyle
, enable_user_activity_logging
, query_group
, search_path
, and
max_query_execution_time
.
configParameters
- An array of parameters to set for more control over a serverless database. The options are
datestyle
, enable_user_activity_logging
, query_group
,
search_path
, and max_query_execution_time
.public CreateWorkgroupRequest withConfigParameters(ConfigParameter... configParameters)
An array of parameters to set for more control over a serverless database. The options are datestyle
, enable_user_activity_logging
, query_group
, search_path
, and
max_query_execution_time
.
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 more control over a serverless database. The options are
datestyle
, enable_user_activity_logging
, query_group
,
search_path
, and max_query_execution_time
.public CreateWorkgroupRequest withConfigParameters(Collection<ConfigParameter> configParameters)
An array of parameters to set for more control over a serverless database. The options are datestyle
, enable_user_activity_logging
, query_group
, search_path
, and
max_query_execution_time
.
configParameters
- An array of parameters to set for more control over a serverless database. The options are
datestyle
, enable_user_activity_logging
, query_group
,
search_path
, and max_query_execution_time
.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 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 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()