com.amazonaws.services.elasticache.model
Class Subnet

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

public class Subnet
extends Object
implements Serializable

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:
Serialized Form

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

Subnet

public Subnet()
Method Detail

getSubnetIdentifier

public String getSubnetIdentifier()
The unique identifier for the subnet

Returns:
The unique identifier for the subnet

setSubnetIdentifier

public void setSubnetIdentifier(String subnetIdentifier)
The unique identifier for the subnet

Parameters:
subnetIdentifier - The unique identifier for the subnet

withSubnetIdentifier

public Subnet withSubnetIdentifier(String subnetIdentifier)
The unique identifier for the subnet

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

Parameters:
subnetIdentifier - The unique identifier for the subnet
Returns:
A reference to this updated object so that method calls can be chained together.

getSubnetAvailabilityZone

public AvailabilityZone getSubnetAvailabilityZone()
The Availability Zone associated with the subnet

Returns:
The Availability Zone associated with the subnet

setSubnetAvailabilityZone

public void setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
The Availability Zone associated with the subnet

Parameters:
subnetAvailabilityZone - The Availability Zone associated with the subnet

withSubnetAvailabilityZone

public Subnet withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
The Availability Zone associated with the subnet

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

Parameters:
subnetAvailabilityZone - The Availability Zone associated with the subnet
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 © 2016. All rights reserved.