Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class Subnet

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

public class Subnet
extends Object
implements Serializable

This data type is used as a response element in the DescribeDBSubnetGroups action.

See Also:
Serialized Form

Constructor Summary
Subnet()
           
 
Method Summary
 boolean equals(Object obj)
           
 AvailabilityZone getSubnetAvailabilityZone()
          Contains Availability Zone information.
 String getSubnetIdentifier()
          Specifies the identifier of the subnet.
 String getSubnetStatus()
          Specifies the status of the subnet.
 int hashCode()
           
 void setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
          Contains Availability Zone information.
 void setSubnetIdentifier(String subnetIdentifier)
          Specifies the identifier of the subnet.
 void setSubnetStatus(String subnetStatus)
          Specifies the status of the subnet.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Subnet withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
          Contains Availability Zone information.
 Subnet withSubnetIdentifier(String subnetIdentifier)
          Specifies the identifier of the subnet.
 Subnet withSubnetStatus(String subnetStatus)
          Specifies 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()
Specifies the identifier of the subnet.

Returns:
Specifies the identifier of the subnet.

setSubnetIdentifier

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

Parameters:
subnetIdentifier - Specifies the identifier of the subnet.

withSubnetIdentifier

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

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

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

getSubnetAvailabilityZone

public AvailabilityZone getSubnetAvailabilityZone()
Contains Availability Zone information.

This data type is used as an element in the following data type:

Returns:
Contains Availability Zone information.

This data type is used as an element in the following data type:


setSubnetAvailabilityZone

public void setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
Contains Availability Zone information.

This data type is used as an element in the following data type:

Parameters:
subnetAvailabilityZone - Contains Availability Zone information.

This data type is used as an element in the following data type:


withSubnetAvailabilityZone

public Subnet withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
Contains Availability Zone information.

This data type is used as an element in the following data type:

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

Parameters:
subnetAvailabilityZone - Contains Availability Zone information.

This data type is used as an element in the following data type:

Returns:
A reference to this updated object so that method calls can be chained together.

getSubnetStatus

public String getSubnetStatus()
Specifies the status of the subnet.

Returns:
Specifies the status of the subnet.

setSubnetStatus

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

Parameters:
subnetStatus - Specifies the status of the subnet.

withSubnetStatus

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

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

Parameters:
subnetStatus - Specifies 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.