* Provides an identifier to allow retrieval of paginated results. *
*/ private String nextToken; /** ** An array of subnet groups. Each element in the array represents a single subnet group. *
*/ private java.util.List* Provides an identifier to allow retrieval of paginated results. *
* * @param nextToken * Provides an identifier to allow retrieval of paginated results. */ public void setNextToken(String nextToken) { this.nextToken = nextToken; } /** ** Provides an identifier to allow retrieval of paginated results. *
* * @return Provides an identifier to allow retrieval of paginated results. */ public String getNextToken() { return this.nextToken; } /** ** Provides an identifier to allow retrieval of paginated results. *
* * @param nextToken * Provides an identifier to allow retrieval of paginated results. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeSubnetGroupsResult withNextToken(String nextToken) { setNextToken(nextToken); return this; } /** ** An array of subnet groups. Each element in the array represents a single subnet group. *
* * @return An array of subnet groups. Each element in the array represents a single subnet group. */ public java.util.List* An array of subnet groups. Each element in the array represents a single subnet group. *
* * @param subnetGroups * An array of subnet groups. Each element in the array represents a single subnet group. */ public void setSubnetGroups(java.util.Collection* 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 * {@link #setSubnetGroups(java.util.Collection)} or {@link #withSubnetGroups(java.util.Collection)} if you want to * override the existing values. *
* * @param subnetGroups * An array of subnet groups. Each element in the array represents a single subnet group. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeSubnetGroupsResult withSubnetGroups(SubnetGroup... subnetGroups) { if (this.subnetGroups == null) { setSubnetGroups(new java.util.ArrayList* An array of subnet groups. Each element in the array represents a single subnet group. *
* * @param subnetGroups * An array of subnet groups. Each element in the array represents a single subnet group. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeSubnetGroupsResult withSubnetGroups(java.util.Collection