@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSubnetGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateSubnetGroupResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateSubnetGroupResult |
clone() |
boolean |
equals(Object obj) |
SubnetGroup |
getSubnetGroup()
The newly-created subnet group
|
int |
hashCode() |
void |
setSubnetGroup(SubnetGroup subnetGroup)
The newly-created subnet group
|
String |
toString()
Returns a string representation of this object.
|
CreateSubnetGroupResult |
withSubnetGroup(SubnetGroup subnetGroup)
The newly-created subnet group
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setSubnetGroup(SubnetGroup subnetGroup)
The newly-created subnet group
subnetGroup - The newly-created subnet grouppublic SubnetGroup getSubnetGroup()
The newly-created subnet group
public CreateSubnetGroupResult withSubnetGroup(SubnetGroup subnetGroup)
The newly-created subnet group
subnetGroup - The newly-created subnet grouppublic String toString()
toString in class ObjectObject.toString()public CreateSubnetGroupResult clone()