Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class ModifyClusterSubnetGroupRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.redshift.model.ModifyClusterSubnetGroupRequest
All Implemented Interfaces:
Serializable

public class ModifyClusterSubnetGroupRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the ModifyClusterSubnetGroup operation.

Modifies a cluster subnet group to include the specified list of VPC subnets. The operation replaces the existing list of subnets with the new list of subnets.

See Also:
AmazonRedshift.modifyClusterSubnetGroup(ModifyClusterSubnetGroupRequest), Serialized Form

Constructor Summary
ModifyClusterSubnetGroupRequest()
           
 
Method Summary
 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(Collection<String> subnetIds)
          An array of VPC subnet IDs.
 ModifyClusterSubnetGroupRequest 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

ModifyClusterSubnetGroupRequest

public ModifyClusterSubnetGroupRequest()
Method Detail

getClusterSubnetGroupName

public String getClusterSubnetGroupName()
The name of the subnet group to be modified.

Returns:
The name of the subnet group to be modified.

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.

withClusterSubnetGroupName

public ModifyClusterSubnetGroupRequest withClusterSubnetGroupName(String clusterSubnetGroupName)
The name of the subnet group to be modified.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterSubnetGroupName - The name of the subnet group to be modified.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

withDescription

public ModifyClusterSubnetGroupRequest withDescription(String description)
A text description of the subnet group to be modified.

Returns a reference to this object so that method calls can be chained together.

Parameters:
description - A text description of the subnet group to be modified.
Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subnetIds - An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subnetIds - An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.