@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSubnetGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeSubnetGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeSubnetGroupsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
Provides an identifier to allow retrieval of paginated results.
|
List<SubnetGroup> |
getSubnetGroups()
An array of subnet groups.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Provides an identifier to allow retrieval of paginated results.
|
void |
setSubnetGroups(Collection<SubnetGroup> subnetGroups)
An array of subnet groups.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeSubnetGroupsResult |
withNextToken(String nextToken)
Provides an identifier to allow retrieval of paginated results.
|
DescribeSubnetGroupsResult |
withSubnetGroups(Collection<SubnetGroup> subnetGroups)
An array of subnet groups.
|
DescribeSubnetGroupsResult |
withSubnetGroups(SubnetGroup... subnetGroups)
An array of subnet groups.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
Provides an identifier to allow retrieval of paginated results.
nextToken
- Provides an identifier to allow retrieval of paginated results.public String getNextToken()
Provides an identifier to allow retrieval of paginated results.
public DescribeSubnetGroupsResult withNextToken(String nextToken)
Provides an identifier to allow retrieval of paginated results.
nextToken
- Provides an identifier to allow retrieval of paginated results.public List<SubnetGroup> getSubnetGroups()
An array of subnet groups. Each element in the array represents a single subnet group.
public void setSubnetGroups(Collection<SubnetGroup> subnetGroups)
An array of subnet groups. Each element in the array represents a single subnet group.
subnetGroups
- An array of subnet groups. Each element in the array represents a single subnet group.public DescribeSubnetGroupsResult withSubnetGroups(SubnetGroup... subnetGroups)
An array of subnet groups. Each element in the array represents a single subnet group.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetGroups(java.util.Collection)
or withSubnetGroups(java.util.Collection)
if you want to
override the existing values.
subnetGroups
- An array of subnet groups. Each element in the array represents a single subnet group.public DescribeSubnetGroupsResult withSubnetGroups(Collection<SubnetGroup> subnetGroups)
An array of subnet groups. Each element in the array represents a single subnet group.
subnetGroups
- An array of subnet groups. Each element in the array represents a single subnet group.public String toString()
toString
in class Object
Object.toString()
public DescribeSubnetGroupsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.