@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWorkteamsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListWorkteamsResult() |
Modifier and Type | Method and Description |
---|---|
ListWorkteamsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the response is truncated, Amazon SageMaker returns this token.
|
List<Workteam> |
getWorkteams()
An array of
Workteam objects, each describing a work team. |
int |
hashCode() |
void |
setNextToken(String nextToken)
If the response is truncated, Amazon SageMaker returns this token.
|
void |
setWorkteams(Collection<Workteam> workteams)
An array of
Workteam objects, each describing a work team. |
String |
toString()
Returns a string representation of this object.
|
ListWorkteamsResult |
withNextToken(String nextToken)
If the response is truncated, Amazon SageMaker returns this token.
|
ListWorkteamsResult |
withWorkteams(Collection<Workteam> workteams)
An array of
Workteam objects, each describing a work team. |
ListWorkteamsResult |
withWorkteams(Workteam... workteams)
An array of
Workteam objects, each describing a work team. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Workteam> getWorkteams()
An array of Workteam
objects, each describing a work team.
Workteam
objects, each describing a work team.public void setWorkteams(Collection<Workteam> workteams)
An array of Workteam
objects, each describing a work team.
workteams
- An array of Workteam
objects, each describing a work team.public ListWorkteamsResult withWorkteams(Workteam... workteams)
An array of Workteam
objects, each describing a work team.
NOTE: This method appends the values to the existing list (if any). Use
setWorkteams(java.util.Collection)
or withWorkteams(java.util.Collection)
if you want to
override the existing values.
workteams
- An array of Workteam
objects, each describing a work team.public ListWorkteamsResult withWorkteams(Collection<Workteam> workteams)
An array of Workteam
objects, each describing a work team.
workteams
- An array of Workteam
objects, each describing a work team.public void setNextToken(String nextToken)
If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of work teams, use it in the subsequent request.
nextToken
- If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of work teams,
use it in the subsequent request.public String getNextToken()
If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of work teams, use it in the subsequent request.
public ListWorkteamsResult withNextToken(String nextToken)
If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of work teams, use it in the subsequent request.
nextToken
- If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of work teams,
use it in the subsequent request.public String toString()
toString
in class Object
Object.toString()
public ListWorkteamsResult clone()