@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSubnetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of CreateSubnet.
| Constructor and Description | 
|---|
| CreateSubnetResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateSubnetResult | 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; useful for testing and debugging. | 
| CreateSubnetResult | 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 CreateSubnetResult withSubnet(Subnet subnet)
Information about the subnet.
subnet - Information about the subnet.public String toString()
toString in class ObjectObject.toString()public CreateSubnetResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.