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:
java.io.Serializable

public class ModifyClusterSubnetGroupRequest
extends AmazonWebServiceRequest
implements java.io.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(java.lang.Object obj)
           
 java.lang.String getClusterSubnetGroupName()
          The name of the subnet group to be modified.
 java.lang.String getDescription()
          A text description of the subnet group to be modified.
 java.util.List<java.lang.String> getSubnetIds()
          An array of VPC subnet IDs.
 int hashCode()
           
 void setClusterSubnetGroupName(java.lang.String clusterSubnetGroupName)
          The name of the subnet group to be modified.
 void setDescription(java.lang.String description)
          A text description of the subnet group to be modified.
 void setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
          An array of VPC subnet IDs.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ModifyClusterSubnetGroupRequest withClusterSubnetGroupName(java.lang.String clusterSubnetGroupName)
          The name of the subnet group to be modified.
 ModifyClusterSubnetGroupRequest withDescription(java.lang.String description)
          A text description of the subnet group to be modified.
 ModifyClusterSubnetGroupRequest withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
          An array of VPC subnet IDs.
 ModifyClusterSubnetGroupRequest withSubnetIds(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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