@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Subnet extends Object implements Serializable, Cloneable, StructuredPojo
Represents the subnet associated with a DAX cluster. This parameter refers to subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and used with DAX.
Constructor and Description |
---|
Subnet() |
Modifier and Type | Method and Description |
---|---|
Subnet |
clone() |
boolean |
equals(Object obj) |
String |
getSubnetAvailabilityZone()
The Availability Zone (AZ) for the subnet.
|
String |
getSubnetIdentifier()
The system-assigned identifier for the subnet.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSubnetAvailabilityZone(String subnetAvailabilityZone)
The Availability Zone (AZ) for the subnet.
|
void |
setSubnetIdentifier(String subnetIdentifier)
The system-assigned identifier for the subnet.
|
String |
toString()
Returns a string representation of this object.
|
Subnet |
withSubnetAvailabilityZone(String subnetAvailabilityZone)
The Availability Zone (AZ) for the subnet.
|
Subnet |
withSubnetIdentifier(String subnetIdentifier)
The system-assigned identifier for the subnet.
|
public void setSubnetIdentifier(String subnetIdentifier)
The system-assigned identifier for the subnet.
subnetIdentifier
- The system-assigned identifier for the subnet.public String getSubnetIdentifier()
The system-assigned identifier for the subnet.
public Subnet withSubnetIdentifier(String subnetIdentifier)
The system-assigned identifier for the subnet.
subnetIdentifier
- The system-assigned identifier for the subnet.public void setSubnetAvailabilityZone(String subnetAvailabilityZone)
The Availability Zone (AZ) for the subnet.
subnetAvailabilityZone
- The Availability Zone (AZ) for the subnet.public String getSubnetAvailabilityZone()
The Availability Zone (AZ) for the subnet.
public Subnet withSubnetAvailabilityZone(String subnetAvailabilityZone)
The Availability Zone (AZ) for the subnet.
subnetAvailabilityZone
- The Availability Zone (AZ) for the subnet.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.