@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListNetworksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListNetworksResult() |
Modifier and Type | Method and Description |
---|---|
ListNetworksResult |
clone() |
boolean |
equals(Object obj) |
List<NetworkSummary> |
getNetworks()
An array of
NetworkSummary objects that contain configuration properties for each network. |
String |
getNextToken()
The pagination token that indicates the next set of results to retrieve.
|
int |
hashCode() |
void |
setNetworks(Collection<NetworkSummary> networks)
An array of
NetworkSummary objects that contain configuration properties for each network. |
void |
setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
ListNetworksResult |
withNetworks(Collection<NetworkSummary> networks)
An array of
NetworkSummary objects that contain configuration properties for each network. |
ListNetworksResult |
withNetworks(NetworkSummary... networks)
An array of
NetworkSummary objects that contain configuration properties for each network. |
ListNetworksResult |
withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<NetworkSummary> getNetworks()
An array of NetworkSummary
objects that contain configuration properties for each network.
NetworkSummary
objects that contain configuration properties for each network.public void setNetworks(Collection<NetworkSummary> networks)
An array of NetworkSummary
objects that contain configuration properties for each network.
networks
- An array of NetworkSummary
objects that contain configuration properties for each network.public ListNetworksResult withNetworks(NetworkSummary... networks)
An array of NetworkSummary
objects that contain configuration properties for each network.
NOTE: This method appends the values to the existing list (if any). Use
setNetworks(java.util.Collection)
or withNetworks(java.util.Collection)
if you want to override
the existing values.
networks
- An array of NetworkSummary
objects that contain configuration properties for each network.public ListNetworksResult withNetworks(Collection<NetworkSummary> networks)
An array of NetworkSummary
objects that contain configuration properties for each network.
networks
- An array of NetworkSummary
objects that contain configuration properties for each network.public void setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String getNextToken()
The pagination token that indicates the next set of results to retrieve.
public ListNetworksResult withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String toString()
toString
in class Object
Object.toString()
public ListNetworksResult clone()