@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateWorkgroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateWorkgroupRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateWorkgroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getBaseCapacity()
The new base data warehouse capacity 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.
|
Integer |
getPort()
The custom port to use when connecting to a workgroup.
|
Boolean |
getPubliclyAccessible()
A value that specifies whether the workgroup can be accessible 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.
|
String |
getWorkgroupName()
The name of the workgroup to update.
|
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.
|
Boolean |
isPubliclyAccessible()
A value that specifies whether the workgroup can be accessible from a public network.
|
void |
setBaseCapacity(Integer baseCapacity)
The new base data warehouse capacity 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.
|
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 accessible 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 |
setWorkgroupName(String workgroupName)
The name of the workgroup to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateWorkgroupRequest |
withBaseCapacity(Integer baseCapacity)
The new base data warehouse capacity in Redshift Processing Units (RPUs).
|
UpdateWorkgroupRequest |
withConfigParameters(Collection<ConfigParameter> configParameters)
An array of parameters to set for advanced control over a database.
|
UpdateWorkgroupRequest |
withConfigParameters(ConfigParameter... configParameters)
An array of parameters to set for advanced control over a database.
|
UpdateWorkgroupRequest |
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.
|
UpdateWorkgroupRequest |
withPort(Integer port)
The custom port to use when connecting to a workgroup.
|
UpdateWorkgroupRequest |
withPubliclyAccessible(Boolean publiclyAccessible)
A value that specifies whether the workgroup can be accessible from a public network.
|
UpdateWorkgroupRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
An array of security group IDs to associate with the workgroup.
|
UpdateWorkgroupRequest |
withSecurityGroupIds(String... securityGroupIds)
An array of security group IDs to associate with the workgroup.
|
UpdateWorkgroupRequest |
withSubnetIds(Collection<String> subnetIds)
An array of VPC subnet IDs to associate with the workgroup.
|
UpdateWorkgroupRequest |
withSubnetIds(String... subnetIds)
An array of VPC subnet IDs to associate with the workgroup.
|
UpdateWorkgroupRequest |
withWorkgroupName(String workgroupName)
The name of the workgroup to update.
|
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 new base data warehouse capacity in Redshift Processing Units (RPUs).
baseCapacity
- The new base data warehouse capacity in Redshift Processing Units (RPUs).public Integer getBaseCapacity()
The new base data warehouse capacity in Redshift Processing Units (RPUs).
public UpdateWorkgroupRequest withBaseCapacity(Integer baseCapacity)
The new base data warehouse capacity in Redshift Processing Units (RPUs).
baseCapacity
- The new base data warehouse capacity in Redshift Processing Units (RPUs).public List<ConfigParameter> getConfigParameters()
An array of parameters to set for advanced control over a 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 advanced control over a 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 advanced control over a database. The options are datestyle
, enable_user_activity_logging
, query_group
, search_path
, and
max_query_execution_time
.public UpdateWorkgroupRequest withConfigParameters(ConfigParameter... configParameters)
An array of parameters to set for advanced control over a 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 advanced control over a database. The options are datestyle
, enable_user_activity_logging
, query_group
, search_path
, and
max_query_execution_time
.public UpdateWorkgroupRequest withConfigParameters(Collection<ConfigParameter> configParameters)
An array of parameters to set for advanced control over a 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 advanced control over a 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.
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.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.
public UpdateWorkgroupRequest 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.
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.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.
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 UpdateWorkgroupRequest 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 accessible from a public network.
publiclyAccessible
- A value that specifies whether the workgroup can be accessible from a public network.public Boolean getPubliclyAccessible()
A value that specifies whether the workgroup can be accessible from a public network.
public UpdateWorkgroupRequest withPubliclyAccessible(Boolean publiclyAccessible)
A value that specifies whether the workgroup can be accessible from a public network.
publiclyAccessible
- A value that specifies whether the workgroup can be accessible from a public network.public Boolean isPubliclyAccessible()
A value that specifies whether the workgroup can be accessible 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 UpdateWorkgroupRequest 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 UpdateWorkgroupRequest 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 UpdateWorkgroupRequest 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 UpdateWorkgroupRequest 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 setWorkgroupName(String workgroupName)
The name of the workgroup to update.
workgroupName
- The name of the workgroup to update.public String getWorkgroupName()
The name of the workgroup to update.
public UpdateWorkgroupRequest withWorkgroupName(String workgroupName)
The name of the workgroup to update.
workgroupName
- The name of the workgroup to update.public String toString()
toString
in class Object
Object.toString()
public UpdateWorkgroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()