Class ModifyClusterSubnetGroupRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.redshift.model.ModifyClusterSubnetGroupRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ModifyClusterSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ModifyClusterSubnetGroupRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifyClusterSubnetGroupRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getClusterSubnetGroupName()
The name of the subnet group to be modified.String
getDescription()
A text description of the subnet group to be modified.List<String>
getSubnetIds()
An array of VPC subnet IDs.int
hashCode()
void
setClusterSubnetGroupName(String clusterSubnetGroupName)
The name of the subnet group to be modified.void
setDescription(String description)
A text description of the subnet group to be modified.void
setSubnetIds(Collection<String> subnetIds)
An array of VPC subnet IDs.String
toString()
Returns a string representation of this object; useful for testing and debugging.ModifyClusterSubnetGroupRequest
withClusterSubnetGroupName(String clusterSubnetGroupName)
The name of the subnet group to be modified.ModifyClusterSubnetGroupRequest
withDescription(String description)
A text description of the subnet group to be modified.ModifyClusterSubnetGroupRequest
withSubnetIds(String... subnetIds)
An array of VPC subnet IDs.ModifyClusterSubnetGroupRequest
withSubnetIds(Collection<String> subnetIds)
An array of VPC subnet IDs.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setClusterSubnetGroupName
public void setClusterSubnetGroupName(String clusterSubnetGroupName)
The name of the subnet group to be modified.
- Parameters:
clusterSubnetGroupName
- The name of the subnet group to be modified.
-
getClusterSubnetGroupName
public String getClusterSubnetGroupName()
The name of the subnet group to be modified.
- Returns:
- The name of the subnet group to be modified.
-
withClusterSubnetGroupName
public ModifyClusterSubnetGroupRequest withClusterSubnetGroupName(String clusterSubnetGroupName)
The name of the subnet group to be modified.
- Parameters:
clusterSubnetGroupName
- The name of the subnet group to be modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
A text description of the subnet group to be modified.
- Parameters:
description
- A text description of the subnet group to be modified.
-
getDescription
public String getDescription()
A text description of the subnet group to be modified.
- Returns:
- A text description of the subnet group to be modified.
-
withDescription
public ModifyClusterSubnetGroupRequest withDescription(String description)
A text description of the subnet group to be modified.
- Parameters:
description
- A text description of the subnet group to be modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSubnetIds
public List<String> getSubnetIds()
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
- Returns:
- An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
-
setSubnetIds
public void setSubnetIds(Collection<String> subnetIds)
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
- Parameters:
subnetIds
- An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
-
withSubnetIds
public ModifyClusterSubnetGroupRequest withSubnetIds(String... subnetIds)
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
orwithSubnetIds(java.util.Collection)
if you want to override the existing values.- Parameters:
subnetIds
- An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSubnetIds
public ModifyClusterSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
- Parameters:
subnetIds
- An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ModifyClusterSubnetGroupRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-