Class Subnet
java.lang.Object
com.amazonaws.services.redshift.model.Subnet
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a subnet.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The identifier of the subnet.The status of the subnet.int
hashCode()
void
setSubnetAvailabilityZone
(AvailabilityZone subnetAvailabilityZone) void
setSubnetIdentifier
(String subnetIdentifier) The identifier of the subnet.void
setSubnetStatus
(String subnetStatus) The status of the subnet.toString()
Returns a string representation of this object; useful for testing and debugging.withSubnetAvailabilityZone
(AvailabilityZone subnetAvailabilityZone) withSubnetIdentifier
(String subnetIdentifier) The identifier of the subnet.withSubnetStatus
(String subnetStatus) The status of the subnet.
-
Constructor Details
-
Subnet
public Subnet()
-
-
Method Details
-
setSubnetIdentifier
The identifier of the subnet.
- Parameters:
subnetIdentifier
- The identifier of the subnet.
-
getSubnetIdentifier
The identifier of the subnet.
- Returns:
- The identifier of the subnet.
-
withSubnetIdentifier
The identifier of the subnet.
- Parameters:
subnetIdentifier
- The identifier of the subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSubnetAvailabilityZone
- Parameters:
subnetAvailabilityZone
-
-
getSubnetAvailabilityZone
- Returns:
-
withSubnetAvailabilityZone
- Parameters:
subnetAvailabilityZone
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSubnetStatus
The status of the subnet.
- Parameters:
subnetStatus
- The status of the subnet.
-
getSubnetStatus
The status of the subnet.
- Returns:
- The status of the subnet.
-
withSubnetStatus
The status of the subnet.
- Parameters:
subnetStatus
- The status of 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
-