Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class Subnet

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

public class Subnet
extends Object
implements Serializable

Network Subnet associated with a Cache Cluster

See Also:
Serialized Form

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

Returns:
Specifies the unique identifier for the Subnet

setSubnetIdentifier

public void setSubnetIdentifier(String subnetIdentifier)
Specifies the unique identifier for the Subnet

Parameters:
subnetIdentifier - Specifies the unique identifier for the Subnet

withSubnetIdentifier

public Subnet withSubnetIdentifier(String subnetIdentifier)
Specifies the unique identifier for the Subnet

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

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

getSubnetAvailabilityZone

public AvailabilityZone getSubnetAvailabilityZone()
Specifies the Availability Zone associated with the Subnet

Returns:
Specifies the Availability Zone associated with the Subnet

setSubnetAvailabilityZone

public void setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
Specifies the Availability Zone associated with the Subnet

Parameters:
subnetAvailabilityZone - Specifies the Availability Zone associated with the Subnet

withSubnetAvailabilityZone

public Subnet withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
Specifies the Availability Zone associated with the Subnet

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

Parameters:
subnetAvailabilityZone - Specifies the Availability Zone associated with 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.