@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEnvironmentVpcsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListEnvironmentVpcsResult() |
Modifier and Type | Method and Description |
---|---|
ListEnvironmentVpcsResult |
clone() |
boolean |
equals(Object obj) |
List<EnvironmentVpc> |
getEnvironmentVpcList()
The list of
EnvironmentVpc objects. |
String |
getNextToken()
The token for the next page of results.
|
int |
hashCode() |
void |
setEnvironmentVpcList(Collection<EnvironmentVpc> environmentVpcList)
The list of
EnvironmentVpc objects. |
void |
setNextToken(String nextToken)
The token for the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListEnvironmentVpcsResult |
withEnvironmentVpcList(Collection<EnvironmentVpc> environmentVpcList)
The list of
EnvironmentVpc objects. |
ListEnvironmentVpcsResult |
withEnvironmentVpcList(EnvironmentVpc... environmentVpcList)
The list of
EnvironmentVpc objects. |
ListEnvironmentVpcsResult |
withNextToken(String nextToken)
The token for the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EnvironmentVpc> getEnvironmentVpcList()
The list of EnvironmentVpc
objects.
EnvironmentVpc
objects.public void setEnvironmentVpcList(Collection<EnvironmentVpc> environmentVpcList)
The list of EnvironmentVpc
objects.
environmentVpcList
- The list of EnvironmentVpc
objects.public ListEnvironmentVpcsResult withEnvironmentVpcList(EnvironmentVpc... environmentVpcList)
The list of EnvironmentVpc
objects.
NOTE: This method appends the values to the existing list (if any). Use
setEnvironmentVpcList(java.util.Collection)
or withEnvironmentVpcList(java.util.Collection)
if
you want to override the existing values.
environmentVpcList
- The list of EnvironmentVpc
objects.public ListEnvironmentVpcsResult withEnvironmentVpcList(Collection<EnvironmentVpc> environmentVpcList)
The list of EnvironmentVpc
objects.
environmentVpcList
- The list of EnvironmentVpc
objects.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public ListEnvironmentVpcsResult withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListEnvironmentVpcsResult clone()