Class Subnet
java.lang.Object
com.amazonaws.services.elasticache.model.Subnet
- All Implemented Interfaces:
Serializable,Cloneable
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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe Availability Zone associated with the subnet.The unique identifier for the subnet.inthashCode()voidsetSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone) The Availability Zone associated with the subnet.voidsetSubnetIdentifier(String subnetIdentifier) The unique identifier for the subnet.toString()Returns a string representation of this object; useful for testing and debugging.withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone) The Availability Zone associated with the subnet.withSubnetIdentifier(String subnetIdentifier) The unique identifier for the subnet.
-
Constructor Details
-
Subnet
public Subnet()
-
-
Method Details
-
setSubnetIdentifier
The unique identifier for the subnet.
- Parameters:
subnetIdentifier- The unique identifier for the subnet.
-
getSubnetIdentifier
The unique identifier for the subnet.
- Returns:
- The unique identifier for the subnet.
-
withSubnetIdentifier
The unique identifier for the subnet.
- Parameters:
subnetIdentifier- The unique identifier for the subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSubnetAvailabilityZone
The Availability Zone associated with the subnet.
- Parameters:
subnetAvailabilityZone- The Availability Zone associated with the subnet.
-
getSubnetAvailabilityZone
The Availability Zone associated with the subnet.
- Returns:
- The Availability Zone associated with the subnet.
-
withSubnetAvailabilityZone
The Availability Zone associated with the subnet.
- Parameters:
subnetAvailabilityZone- The Availability Zone associated with the subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-