Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class Subnet

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

public class Subnet
extends Object
implements Serializable

Describes a subnet.

See Also:
Serialized Form

Constructor Summary
Subnet()
           
 
Method Summary
 boolean equals(Object obj)
           
 AvailabilityZone getSubnetAvailabilityZone()
          Describes an availability zone.
 String getSubnetIdentifier()
          The identifier of the subnet.
 String getSubnetStatus()
          The status of the subnet.
 int hashCode()
           
 void setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
          Describes an availability zone.
 void setSubnetIdentifier(String subnetIdentifier)
          The identifier of the subnet.
 void setSubnetStatus(String subnetStatus)
          The status of the subnet.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Subnet withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
          Describes an availability zone.
 Subnet withSubnetIdentifier(String subnetIdentifier)
          The identifier of the subnet.
 Subnet withSubnetStatus(String subnetStatus)
          The status of the subnet.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Subnet

public Subnet()
Method Detail

getSubnetIdentifier

public String getSubnetIdentifier()
The identifier of the subnet.

Returns:
The identifier of the subnet.

setSubnetIdentifier

public void setSubnetIdentifier(String subnetIdentifier)
The identifier of the subnet.

Parameters:
subnetIdentifier - The identifier of the subnet.

withSubnetIdentifier

public Subnet withSubnetIdentifier(String subnetIdentifier)
The identifier of the subnet.

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

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

getSubnetAvailabilityZone

public AvailabilityZone getSubnetAvailabilityZone()
Describes an availability zone.

Returns:
Describes an availability zone.

setSubnetAvailabilityZone

public void setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
Describes an availability zone.

Parameters:
subnetAvailabilityZone - Describes an availability zone.

withSubnetAvailabilityZone

public Subnet withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
Describes an availability zone.

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

Parameters:
subnetAvailabilityZone - Describes an availability zone.
Returns:
A reference to this updated object so that method calls can be chained together.

getSubnetStatus

public String getSubnetStatus()
The status of the subnet.

Returns:
The status of the subnet.

setSubnetStatus

public void setSubnetStatus(String subnetStatus)
The status of the subnet.

Parameters:
subnetStatus - The status of the subnet.

withSubnetStatus

public Subnet withSubnetStatus(String subnetStatus)
The status of the subnet.

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

Parameters:
subnetStatus - The status of the subnet.
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.