public class CreateSubnetResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of CreateSubnet.
| Constructor and Description | 
|---|
| CreateSubnetResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| Subnet | getSubnet()Information about the subnet. | 
| int | hashCode() | 
| void | setSubnet(Subnet subnet)Information about the subnet. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| CreateSubnetResult | withSubnet(Subnet subnet)Information about the subnet. | 
public Subnet getSubnet()
public void setSubnet(Subnet subnet)
subnet - Information about the subnet.public CreateSubnetResult withSubnet(Subnet subnet)
Returns a reference to this object so that method calls can be chained together.
subnet - Information about the subnet.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object