@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDefaultSubnetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| CreateDefaultSubnetResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateDefaultSubnetResult | clone() | 
| boolean | equals(Object obj) | 
| Subnet | getSubnet()
 Information about the subnet. | 
| int | hashCode() | 
| void | setSubnet(Subnet subnet)
 Information about the subnet. | 
| String | toString()Returns a string representation of this object. | 
| CreateDefaultSubnetResult | withSubnet(Subnet subnet)
 Information about the subnet. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setSubnet(Subnet subnet)
Information about the subnet.
subnet - Information about the subnet.public Subnet getSubnet()
Information about the subnet.
public CreateDefaultSubnetResult withSubnet(Subnet subnet)
Information about the subnet.
subnet - Information about the subnet.public String toString()
toString in class ObjectObject.toString()public CreateDefaultSubnetResult clone()