@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Subnet extends Object implements Serializable, Cloneable
Represents the subnet associated with a cluster. This parameter refers to subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and used with ElastiCache.
| Constructor and Description | 
|---|
Subnet()  | 
| Modifier and Type | Method and Description | 
|---|---|
Subnet | 
clone()  | 
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. 
 | 
Subnet | 
withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
 The Availability Zone associated with the subnet. 
 | 
Subnet | 
withSubnetIdentifier(String subnetIdentifier)
 The unique identifier for the subnet. 
 | 
public void setSubnetIdentifier(String subnetIdentifier)
The unique identifier for the subnet.
subnetIdentifier - The unique identifier for the subnet.public String getSubnetIdentifier()
The unique identifier for the subnet.
public Subnet withSubnetIdentifier(String subnetIdentifier)
The unique identifier for the subnet.
subnetIdentifier - The unique identifier for the subnet.public void setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
The Availability Zone associated with the subnet.
subnetAvailabilityZone - The Availability Zone associated with the subnet.public AvailabilityZone getSubnetAvailabilityZone()
The Availability Zone associated with the subnet.
public Subnet withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
The Availability Zone associated with the subnet.
subnetAvailabilityZone - The Availability Zone associated with the subnet.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.