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