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