public class CreateSubnetResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of CreateSubnet.
Modifier and Type | Field and Description |
---|---|
private Subnet |
subnet
Information about the subnet.
|
Constructor and Description |
---|
CreateSubnetResult() |
Modifier and Type | Method and Description |
---|---|
CreateSubnetResult |
clone() |
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.
|
private Subnet subnet
Information about the subnet.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateSubnetResult clone()
clone
in class java.lang.Object