@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSubnetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
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.
|
CreateSubnetResult |
withSubnet(Subnet subnet)
Information about the subnet.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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 Object
Object.toString()
public CreateSubnetResult clone()