@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWorkforcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListWorkforcesResult() |
Modifier and Type | Method and Description |
---|---|
ListWorkforcesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token to resume pagination.
|
List<Workforce> |
getWorkforces()
A list containing information about your workforce.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token to resume pagination.
|
void |
setWorkforces(Collection<Workforce> workforces)
A list containing information about your workforce.
|
String |
toString()
Returns a string representation of this object.
|
ListWorkforcesResult |
withNextToken(String nextToken)
A token to resume pagination.
|
ListWorkforcesResult |
withWorkforces(Collection<Workforce> workforces)
A list containing information about your workforce.
|
ListWorkforcesResult |
withWorkforces(Workforce... workforces)
A list containing information about your workforce.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Workforce> getWorkforces()
A list containing information about your workforce.
public void setWorkforces(Collection<Workforce> workforces)
A list containing information about your workforce.
workforces
- A list containing information about your workforce.public ListWorkforcesResult withWorkforces(Workforce... workforces)
A list containing information about your workforce.
NOTE: This method appends the values to the existing list (if any). Use
setWorkforces(java.util.Collection)
or withWorkforces(java.util.Collection)
if you want to
override the existing values.
workforces
- A list containing information about your workforce.public ListWorkforcesResult withWorkforces(Collection<Workforce> workforces)
A list containing information about your workforce.
workforces
- A list containing information about your workforce.public void setNextToken(String nextToken)
A token to resume pagination.
nextToken
- A token to resume pagination.public String getNextToken()
A token to resume pagination.
public ListWorkforcesResult withNextToken(String nextToken)
A token to resume pagination.
nextToken
- A token to resume pagination.public String toString()
toString
in class Object
Object.toString()
public ListWorkforcesResult clone()