@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Workgroup extends Object implements Serializable, Cloneable, StructuredPojo
The collection of computing resources from which an endpoint is created.
Constructor and Description |
---|
Workgroup() |
Modifier and Type | Method and Description |
---|---|
Workgroup |
clone() |
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 finer control over a database.
|
Date |
getCreationDate()
The creation date of the workgroup.
|
Endpoint |
getEndpoint()
The endpoint that is created from the workgroup.
|
Boolean |
getEnhancedVpcRouting()
The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon
Redshift Serverless to route traffic through your VPC.
|
String |
getNamespaceName()
The namespace the workgroup is associated with.
|
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.
|
String |
getStatus()
The status of the workgroup.
|
List<String> |
getSubnetIds()
An array of subnet IDs the workgroup is associated with.
|
String |
getWorkgroupArn()
The Amazon Resource Name (ARN) that links to the workgroup.
|
String |
getWorkgroupId()
The unique identifier of the workgroup.
|
String |
getWorkgroupName()
The name of the workgroup.
|
int |
hashCode() |
Boolean |
isEnhancedVpcRouting()
The value that specifies whether to enable 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 finer control over a database.
|
void |
setCreationDate(Date creationDate)
The creation date of the workgroup.
|
void |
setEndpoint(Endpoint endpoint)
The endpoint that is created from the workgroup.
|
void |
setEnhancedVpcRouting(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.
|
void |
setNamespaceName(String namespaceName)
The namespace the workgroup is associated with.
|
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 |
setStatus(String status)
The status of the workgroup.
|
void |
setSubnetIds(Collection<String> subnetIds)
An array of subnet IDs the workgroup is associated with.
|
void |
setWorkgroupArn(String workgroupArn)
The Amazon Resource Name (ARN) that links to the workgroup.
|
void |
setWorkgroupId(String workgroupId)
The unique identifier of the workgroup.
|
void |
setWorkgroupName(String workgroupName)
The name of the workgroup.
|
String |
toString()
Returns a string representation of this object.
|
Workgroup |
withBaseCapacity(Integer baseCapacity)
The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
|
Workgroup |
withConfigParameters(Collection<ConfigParameter> configParameters)
An array of parameters to set for finer control over a database.
|
Workgroup |
withConfigParameters(ConfigParameter... configParameters)
An array of parameters to set for finer control over a database.
|
Workgroup |
withCreationDate(Date creationDate)
The creation date of the workgroup.
|
Workgroup |
withEndpoint(Endpoint endpoint)
The endpoint that is created from the workgroup.
|
Workgroup |
withEnhancedVpcRouting(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.
|
Workgroup |
withNamespaceName(String namespaceName)
The namespace the workgroup is associated with.
|
Workgroup |
withPubliclyAccessible(Boolean publiclyAccessible)
A value that specifies whether the workgroup can be accessible from a public network
|
Workgroup |
withSecurityGroupIds(Collection<String> securityGroupIds)
An array of security group IDs to associate with the workgroup.
|
Workgroup |
withSecurityGroupIds(String... securityGroupIds)
An array of security group IDs to associate with the workgroup.
|
Workgroup |
withStatus(String status)
The status of the workgroup.
|
Workgroup |
withStatus(WorkgroupStatus status)
The status of the workgroup.
|
Workgroup |
withSubnetIds(Collection<String> subnetIds)
An array of subnet IDs the workgroup is associated with.
|
Workgroup |
withSubnetIds(String... subnetIds)
An array of subnet IDs the workgroup is associated with.
|
Workgroup |
withWorkgroupArn(String workgroupArn)
The Amazon Resource Name (ARN) that links to the workgroup.
|
Workgroup |
withWorkgroupId(String workgroupId)
The unique identifier of the workgroup.
|
Workgroup |
withWorkgroupName(String workgroupName)
The name of the workgroup.
|
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 Workgroup 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 finer 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 finer 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 finer control over a database. The options are datestyle
,
enable_user_activity_logging
, query_group
, search_path
, and
max_query_execution_time
.public Workgroup withConfigParameters(ConfigParameter... configParameters)
An array of parameters to set for finer 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 finer control over a database. The options are datestyle
,
enable_user_activity_logging
, query_group
, search_path
, and
max_query_execution_time
.public Workgroup withConfigParameters(Collection<ConfigParameter> configParameters)
An array of parameters to set for finer 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 finer control over a database. The options are datestyle
,
enable_user_activity_logging
, query_group
, search_path
, and
max_query_execution_time
.public void setCreationDate(Date creationDate)
The creation date of the workgroup.
creationDate
- The creation date of the workgroup.public Date getCreationDate()
The creation date of the workgroup.
public Workgroup withCreationDate(Date creationDate)
The creation date of the workgroup.
creationDate
- The creation date of the workgroup.public void setEndpoint(Endpoint endpoint)
The endpoint that is created from the workgroup.
endpoint
- The endpoint that is created from the workgroup.public Endpoint getEndpoint()
The endpoint that is created from the workgroup.
public Workgroup withEndpoint(Endpoint endpoint)
The endpoint that is created from the workgroup.
endpoint
- The endpoint that is created from the workgroup.public void setEnhancedVpcRouting(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.
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.public Boolean getEnhancedVpcRouting()
The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
public Workgroup withEnhancedVpcRouting(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.
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.public Boolean isEnhancedVpcRouting()
The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
public void setNamespaceName(String namespaceName)
The namespace the workgroup is associated with.
namespaceName
- The namespace the workgroup is associated with.public String getNamespaceName()
The namespace the workgroup is associated with.
public Workgroup withNamespaceName(String namespaceName)
The namespace the workgroup is associated with.
namespaceName
- The namespace the workgroup is associated with.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 networkpublic Boolean getPubliclyAccessible()
A value that specifies whether the workgroup can be accessible from a public network
public Workgroup 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 networkpublic 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 Workgroup 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 Workgroup 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 void setStatus(String status)
The status of the workgroup.
status
- The status of the workgroup.WorkgroupStatus
public String getStatus()
The status of the workgroup.
WorkgroupStatus
public Workgroup withStatus(String status)
The status of the workgroup.
status
- The status of the workgroup.WorkgroupStatus
public Workgroup withStatus(WorkgroupStatus status)
The status of the workgroup.
status
- The status of the workgroup.WorkgroupStatus
public List<String> getSubnetIds()
An array of subnet IDs the workgroup is associated with.
public void setSubnetIds(Collection<String> subnetIds)
An array of subnet IDs the workgroup is associated with.
subnetIds
- An array of subnet IDs the workgroup is associated with.public Workgroup withSubnetIds(String... subnetIds)
An array of subnet IDs the workgroup is associated with.
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 subnet IDs the workgroup is associated with.public Workgroup withSubnetIds(Collection<String> subnetIds)
An array of subnet IDs the workgroup is associated with.
subnetIds
- An array of subnet IDs the workgroup is associated with.public void setWorkgroupArn(String workgroupArn)
The Amazon Resource Name (ARN) that links to the workgroup.
workgroupArn
- The Amazon Resource Name (ARN) that links to the workgroup.public String getWorkgroupArn()
The Amazon Resource Name (ARN) that links to the workgroup.
public Workgroup withWorkgroupArn(String workgroupArn)
The Amazon Resource Name (ARN) that links to the workgroup.
workgroupArn
- The Amazon Resource Name (ARN) that links to the workgroup.public void setWorkgroupId(String workgroupId)
The unique identifier of the workgroup.
workgroupId
- The unique identifier of the workgroup.public String getWorkgroupId()
The unique identifier of the workgroup.
public Workgroup withWorkgroupId(String workgroupId)
The unique identifier of the workgroup.
workgroupId
- The unique identifier of the workgroup.public void setWorkgroupName(String workgroupName)
The name of the workgroup.
workgroupName
- The name of the workgroup.public String getWorkgroupName()
The name of the workgroup.
public Workgroup withWorkgroupName(String workgroupName)
The name of the workgroup.
workgroupName
- The name of the workgroup.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.