@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 request the next page of results.
|
List<Workload> |
getWorkloadList()
The list of workloads.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to request the next page of results.
|
void |
setWorkloadList(Collection<Workload> workloadList)
The list of workloads.
|
String |
toString()
Returns a string representation of this object.
|
ListWorkloadsResult |
withNextToken(String nextToken)
The token to request the next page of results.
|
ListWorkloadsResult |
withWorkloadList(Collection<Workload> workloadList)
The list of workloads.
|
ListWorkloadsResult |
withWorkloadList(Workload... workloadList)
The list of workloads.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Workload> getWorkloadList()
The list of workloads.
public void setWorkloadList(Collection<Workload> workloadList)
The list of workloads.
workloadList
- The list of workloads.public ListWorkloadsResult withWorkloadList(Workload... workloadList)
The list of workloads.
NOTE: This method appends the values to the existing list (if any). Use
setWorkloadList(java.util.Collection)
or withWorkloadList(java.util.Collection)
if you want to
override the existing values.
workloadList
- The list of workloads.public ListWorkloadsResult withWorkloadList(Collection<Workload> workloadList)
The list of workloads.
workloadList
- The list of workloads.public void setNextToken(String nextToken)
The token to request the next page of results.
nextToken
- The token to request the next page of results.public String getNextToken()
The token to request the next page of results.
public ListWorkloadsResult withNextToken(String nextToken)
The token to request the next page of results.
nextToken
- The token to request the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListWorkloadsResult clone()