Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class ClusterSubnetGroup

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

public class ClusterSubnetGroup
extends Object
implements Serializable

Describes a subnet group.

See Also:
Serialized Form

Constructor Summary
ClusterSubnetGroup()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getClusterSubnetGroupName()
          The name of the cluster subnet group.
 String getDescription()
          The description of the cluster subnet group.
 String getSubnetGroupStatus()
          The status of the cluster subnet group.
 List<Subnet> getSubnets()
          A list of the VPC Subnet elements.
 String getVpcId()
          The VPC ID of the cluster subnet group.
 int hashCode()
           
 void setClusterSubnetGroupName(String clusterSubnetGroupName)
          The name of the cluster subnet group.
 void setDescription(String description)
          The description of the cluster subnet group.
 void setSubnetGroupStatus(String subnetGroupStatus)
          The status of the cluster subnet group.
 void setSubnets(Collection<Subnet> subnets)
          A list of the VPC Subnet elements.
 void setVpcId(String vpcId)
          The VPC ID of the cluster subnet group.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ClusterSubnetGroup withClusterSubnetGroupName(String clusterSubnetGroupName)
          The name of the cluster subnet group.
 ClusterSubnetGroup withDescription(String description)
          The description of the cluster subnet group.
 ClusterSubnetGroup withSubnetGroupStatus(String subnetGroupStatus)
          The status of the cluster subnet group.
 ClusterSubnetGroup withSubnets(Collection<Subnet> subnets)
          A list of the VPC Subnet elements.
 ClusterSubnetGroup withSubnets(Subnet... subnets)
          A list of the VPC Subnet elements.
 ClusterSubnetGroup withVpcId(String vpcId)
          The VPC ID of the cluster subnet group.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClusterSubnetGroup

public ClusterSubnetGroup()
Method Detail

getClusterSubnetGroupName

public String getClusterSubnetGroupName()
The name of the cluster subnet group.

Returns:
The name of the cluster subnet group.

setClusterSubnetGroupName

public void setClusterSubnetGroupName(String clusterSubnetGroupName)
The name of the cluster subnet group.

Parameters:
clusterSubnetGroupName - The name of the cluster subnet group.

withClusterSubnetGroupName

public ClusterSubnetGroup withClusterSubnetGroupName(String clusterSubnetGroupName)
The name of the cluster subnet group.

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

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

getDescription

public String getDescription()
The description of the cluster subnet group.

Returns:
The description of the cluster subnet group.

setDescription

public void setDescription(String description)
The description of the cluster subnet group.

Parameters:
description - The description of the cluster subnet group.

withDescription

public ClusterSubnetGroup withDescription(String description)
The description of the cluster subnet group.

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

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

getVpcId

public String getVpcId()
The VPC ID of the cluster subnet group.

Returns:
The VPC ID of the cluster subnet group.

setVpcId

public void setVpcId(String vpcId)
The VPC ID of the cluster subnet group.

Parameters:
vpcId - The VPC ID of the cluster subnet group.

withVpcId

public ClusterSubnetGroup withVpcId(String vpcId)
The VPC ID of the cluster subnet group.

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

Parameters:
vpcId - The VPC ID of the cluster subnet group.
Returns:
A reference to this updated object so that method calls can be chained together.

getSubnetGroupStatus

public String getSubnetGroupStatus()
The status of the cluster subnet group. Possible values are Complete, Incomplete and Invalid.

Returns:
The status of the cluster subnet group. Possible values are Complete, Incomplete and Invalid.

setSubnetGroupStatus

public void setSubnetGroupStatus(String subnetGroupStatus)
The status of the cluster subnet group. Possible values are Complete, Incomplete and Invalid.

Parameters:
subnetGroupStatus - The status of the cluster subnet group. Possible values are Complete, Incomplete and Invalid.

withSubnetGroupStatus

public ClusterSubnetGroup withSubnetGroupStatus(String subnetGroupStatus)
The status of the cluster subnet group. Possible values are Complete, Incomplete and Invalid.

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

Parameters:
subnetGroupStatus - The status of the cluster subnet group. Possible values are Complete, Incomplete and Invalid.
Returns:
A reference to this updated object so that method calls can be chained together.

getSubnets

public List<Subnet> getSubnets()
A list of the VPC Subnet elements.

Returns:
A list of the VPC Subnet elements.

setSubnets

public void setSubnets(Collection<Subnet> subnets)
A list of the VPC Subnet elements.

Parameters:
subnets - A list of the VPC Subnet elements.

withSubnets

public ClusterSubnetGroup withSubnets(Subnet... subnets)
A list of the VPC Subnet elements.

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

Parameters:
subnets - A list of the VPC Subnet elements.
Returns:
A reference to this updated object so that method calls can be chained together.

withSubnets

public ClusterSubnetGroup withSubnets(Collection<Subnet> subnets)
A list of the VPC Subnet elements.

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

Parameters:
subnets - A list of the VPC Subnet elements.
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.