Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class AvailabilityZone

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

public class AvailabilityZone
extends Object
implements Serializable

Availability Zone in which the Cache Cluster is launched

See Also:
Serialized Form

Constructor Summary
AvailabilityZone()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
          Specifies the name of the Availability Zone
 int hashCode()
           
 void setName(String name)
          Specifies the name of the Availability Zone
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 AvailabilityZone withName(String name)
          Specifies the name of the Availability Zone
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AvailabilityZone

public AvailabilityZone()
Method Detail

getName

public String getName()
Specifies the name of the Availability Zone

Returns:
Specifies the name of the Availability Zone

setName

public void setName(String name)
Specifies the name of the Availability Zone

Parameters:
name - Specifies the name of the Availability Zone

withName

public AvailabilityZone withName(String name)
Specifies the name of the Availability Zone

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

Parameters:
name - Specifies the name of the Availability Zone
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.