@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListServiceNetworkVpcAssociationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListServiceNetworkVpcAssociationsResult() |
Modifier and Type | Method and Description |
---|---|
ListServiceNetworkVpcAssociationsResult |
clone() |
boolean |
equals(Object obj) |
List<ServiceNetworkVpcAssociationSummary> |
getItems()
Information about the associations.
|
String |
getNextToken()
If there are additional results, a pagination token for the next page of results.
|
int |
hashCode() |
void |
setItems(Collection<ServiceNetworkVpcAssociationSummary> items)
Information about the associations.
|
void |
setNextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListServiceNetworkVpcAssociationsResult |
withItems(Collection<ServiceNetworkVpcAssociationSummary> items)
Information about the associations.
|
ListServiceNetworkVpcAssociationsResult |
withItems(ServiceNetworkVpcAssociationSummary... items)
Information about the associations.
|
ListServiceNetworkVpcAssociationsResult |
withNextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListServiceNetworkVpcAssociationsResult()
public List<ServiceNetworkVpcAssociationSummary> getItems()
Information about the associations.
public void setItems(Collection<ServiceNetworkVpcAssociationSummary> items)
Information about the associations.
items
- Information about the associations.public ListServiceNetworkVpcAssociationsResult withItems(ServiceNetworkVpcAssociationSummary... items)
Information about the associations.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- Information about the associations.public ListServiceNetworkVpcAssociationsResult withItems(Collection<ServiceNetworkVpcAssociationSummary> items)
Information about the associations.
items
- Information about the associations.public void setNextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
nextToken
- If there are additional results, a pagination token for the next page of results.public String getNextToken()
If there are additional results, a pagination token for the next page of results.
public ListServiceNetworkVpcAssociationsResult withNextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
nextToken
- If there are additional results, a pagination token for the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListServiceNetworkVpcAssociationsResult clone()