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