@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListNetworkResourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListNetworkResourcesResult() |
Modifier and Type | Method and Description |
---|---|
ListNetworkResourcesResult |
clone() |
boolean |
equals(Object obj) |
List<NetworkResource> |
getNetworkResources()
Information about network resources.
|
String |
getNextToken()
The token for the next page of results.
|
int |
hashCode() |
void |
setNetworkResources(Collection<NetworkResource> networkResources)
Information about network resources.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListNetworkResourcesResult |
withNetworkResources(Collection<NetworkResource> networkResources)
Information about network resources.
|
ListNetworkResourcesResult |
withNetworkResources(NetworkResource... networkResources)
Information about network resources.
|
ListNetworkResourcesResult |
withNextToken(String nextToken)
The token for the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<NetworkResource> getNetworkResources()
Information about network resources.
public void setNetworkResources(Collection<NetworkResource> networkResources)
Information about network resources.
networkResources
- Information about network resources.public ListNetworkResourcesResult withNetworkResources(NetworkResource... networkResources)
Information about network resources.
NOTE: This method appends the values to the existing list (if any). Use
setNetworkResources(java.util.Collection)
or withNetworkResources(java.util.Collection)
if you
want to override the existing values.
networkResources
- Information about network resources.public ListNetworkResourcesResult withNetworkResources(Collection<NetworkResource> networkResources)
Information about network resources.
networkResources
- Information about network resources.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 ListNetworkResourcesResult 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 ListNetworkResourcesResult clone()