|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.redshift.model.CreateClusterSubnetGroupRequest
public class CreateClusterSubnetGroupRequest
Container for the parameters to the CreateClusterSubnetGroup operation
.
Creates a new Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC) when creating Amazon Redshift subnet group.
For information about subnet groups, go to Amazon Redshift Cluster Subnet Groups in the Amazon Redshift Management Guide .
AmazonRedshift.createClusterSubnetGroup(CreateClusterSubnetGroupRequest)
,
Serialized FormConstructor Summary | |
---|---|
CreateClusterSubnetGroupRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getClusterSubnetGroupName()
The name for the subnet group. |
String |
getDescription()
A description for the subnet group. |
List<String> |
getSubnetIds()
An array of VPC subnet IDs. |
int |
hashCode()
|
void |
setClusterSubnetGroupName(String clusterSubnetGroupName)
The name for the subnet group. |
void |
setDescription(String description)
A description for the subnet group. |
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. |
CreateClusterSubnetGroupRequest |
withClusterSubnetGroupName(String clusterSubnetGroupName)
The name for the subnet group. |
CreateClusterSubnetGroupRequest |
withDescription(String description)
A description for the subnet group. |
CreateClusterSubnetGroupRequest |
withSubnetIds(Collection<String> subnetIds)
An array of VPC subnet IDs. |
CreateClusterSubnetGroupRequest |
withSubnetIds(String... subnetIds)
An array of VPC subnet IDs. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateClusterSubnetGroupRequest()
Method Detail |
---|
public String getClusterSubnetGroupName()
Constraints:
Example:
examplesubnetgroup
Constraints:
Example:
examplesubnetgroup
public void setClusterSubnetGroupName(String clusterSubnetGroupName)
Constraints:
Example:
examplesubnetgroup
clusterSubnetGroupName
- The name for the subnet group. Amazon Redshift stores the value as a
lowercase string. Constraints:
Example:
examplesubnetgroup
public CreateClusterSubnetGroupRequest withClusterSubnetGroupName(String clusterSubnetGroupName)
Constraints:
Example:
examplesubnetgroup
Returns a reference to this object so that method calls can be chained together.
clusterSubnetGroupName
- The name for the subnet group. Amazon Redshift stores the value as a
lowercase string. Constraints:
Example:
examplesubnetgroup
public String getDescription()
public void setDescription(String description)
description
- A description for the subnet group.public CreateClusterSubnetGroupRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- A description for the subnet group.
public List<String> getSubnetIds()
public void setSubnetIds(Collection<String> subnetIds)
subnetIds
- An array of VPC subnet IDs. A maximum of 20 subnets can be modified in
a single request.public CreateClusterSubnetGroupRequest withSubnetIds(String... subnetIds)
Returns a reference to this object so that method calls can be chained together.
subnetIds
- An array of VPC subnet IDs. A maximum of 20 subnets can be modified in
a single request.
public CreateClusterSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)
Returns a reference to this object so that method calls can be chained together.
subnetIds
- An array of VPC subnet IDs. A maximum of 20 subnets can be modified in
a single request.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |