|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticache.model.Subnet
public class Subnet
Represents the subnet associated with a cache cluster. This parameter refers to subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and used with ElastiCache.
Constructor Summary | |
---|---|
Subnet()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
AvailabilityZone |
getSubnetAvailabilityZone()
The Availability Zone associated with the subnet |
String |
getSubnetIdentifier()
The unique identifier for the subnet |
int |
hashCode()
|
void |
setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
The Availability Zone associated with the subnet |
void |
setSubnetIdentifier(String subnetIdentifier)
The unique identifier for the subnet |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Subnet |
withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
The Availability Zone associated with the subnet |
Subnet |
withSubnetIdentifier(String subnetIdentifier)
The unique identifier for the subnet |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Subnet()
Method Detail |
---|
public String getSubnetIdentifier()
public void setSubnetIdentifier(String subnetIdentifier)
subnetIdentifier
- The unique identifier for the subnetpublic Subnet withSubnetIdentifier(String subnetIdentifier)
Returns a reference to this object so that method calls can be chained together.
subnetIdentifier
- The unique identifier for the subnet
public AvailabilityZone getSubnetAvailabilityZone()
public void setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
subnetAvailabilityZone
- The Availability Zone associated with the subnetpublic Subnet withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
Returns a reference to this object so that method calls can be chained together.
subnetAvailabilityZone
- The Availability Zone associated with the subnet
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |