@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<Network> |
getNetworks()
The networks.
|
String |
getNextToken()
The token for the next page of results.
|
int |
hashCode() |
void |
setNetworks(Collection<Network> networks)
The networks.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListNetworksResult |
withNetworks(Collection<Network> networks)
The networks.
|
ListNetworksResult |
withNetworks(Network... networks)
The networks.
|
ListNetworksResult |
withNextToken(String nextToken)
The token for the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNetworks(Collection<Network> networks)
The networks.
networks - The networks.public ListNetworksResult withNetworks(Network... networks)
The networks.
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 - The networks.public ListNetworksResult withNetworks(Collection<Network> networks)
The networks.
networks - The networks.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 ListNetworksResult 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 ObjectObject.toString()public ListNetworksResult clone()