@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWorkloadsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListWorkloadsResult() |
Modifier and Type | Method and Description |
---|---|
ListWorkloadsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to include in another request to get the next page of items.
|
List<WorkloadDataSummary> |
getWorkloads()
Information about the workloads.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
void |
setWorkloads(Collection<WorkloadDataSummary> workloads)
Information about the workloads.
|
String |
toString()
Returns a string representation of this object.
|
ListWorkloadsResult |
withNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
ListWorkloadsResult |
withWorkloads(Collection<WorkloadDataSummary> workloads)
Information about the workloads.
|
ListWorkloadsResult |
withWorkloads(WorkloadDataSummary... workloads)
Information about the workloads.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String getNextToken()
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
null
when there are no more items to return.public ListWorkloadsResult withNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public List<WorkloadDataSummary> getWorkloads()
Information about the workloads.
public void setWorkloads(Collection<WorkloadDataSummary> workloads)
Information about the workloads.
workloads
- Information about the workloads.public ListWorkloadsResult withWorkloads(WorkloadDataSummary... workloads)
Information about the workloads.
NOTE: This method appends the values to the existing list (if any). Use
setWorkloads(java.util.Collection)
or withWorkloads(java.util.Collection)
if you want to
override the existing values.
workloads
- Information about the workloads.public ListWorkloadsResult withWorkloads(Collection<WorkloadDataSummary> workloads)
Information about the workloads.
workloads
- Information about the workloads.public String toString()
toString
in class Object
Object.toString()
public ListWorkloadsResult clone()