@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListServiceNetworksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListServiceNetworksResult() |
| Modifier and Type | Method and Description |
|---|---|
ListServiceNetworksResult |
clone() |
boolean |
equals(Object obj) |
List<ServiceNetworkSummary> |
getItems()
Information about the service networks.
|
String |
getNextToken()
If there are additional results, a pagination token for the next page of results.
|
int |
hashCode() |
void |
setItems(Collection<ServiceNetworkSummary> items)
Information about the service networks.
|
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.
|
ListServiceNetworksResult |
withItems(Collection<ServiceNetworkSummary> items)
Information about the service networks.
|
ListServiceNetworksResult |
withItems(ServiceNetworkSummary... items)
Information about the service networks.
|
ListServiceNetworksResult |
withNextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ServiceNetworkSummary> getItems()
Information about the service networks.
public void setItems(Collection<ServiceNetworkSummary> items)
Information about the service networks.
items - Information about the service networks.public ListServiceNetworksResult withItems(ServiceNetworkSummary... items)
Information about the service networks.
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 service networks.public ListServiceNetworksResult withItems(Collection<ServiceNetworkSummary> items)
Information about the service networks.
items - Information about the service networks.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 ListServiceNetworksResult 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 ObjectObject.toString()public ListServiceNetworksResult clone()