public class CreateSubnetResult extends Object implements Serializable
Contains the output of CreateSubnet.
| Constructor and Description |
|---|
CreateSubnetResult() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.