@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTrainingJobsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListTrainingJobsRequest() |
Modifier and Type | Method and Description |
---|---|
ListTrainingJobsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getCreationTimeAfter()
A filter that returns only training jobs created after the specified time (timestamp).
|
Date |
getCreationTimeBefore()
A filter that returns only training jobs created before the specified time (timestamp).
|
Date |
getLastModifiedTimeAfter()
A filter that returns only training jobs modified after the specified time (timestamp).
|
Date |
getLastModifiedTimeBefore()
A filter that returns only training jobs modified before the specified time (timestamp).
|
Integer |
getMaxResults()
The maximum number of training jobs to return in the response.
|
String |
getNameContains()
A string in the training job name.
|
String |
getNextToken()
If the result of the previous
ListTrainingJobs request was truncated, the response includes a
NextToken . |
String |
getSortBy()
The field to sort results by.
|
String |
getSortOrder()
The sort order for results.
|
String |
getStatusEquals()
A filter that retrieves only training jobs with a specific status.
|
String |
getWarmPoolStatusEquals()
A filter that retrieves only training jobs with a specific warm pool status.
|
int |
hashCode() |
void |
setCreationTimeAfter(Date creationTimeAfter)
A filter that returns only training jobs created after the specified time (timestamp).
|
void |
setCreationTimeBefore(Date creationTimeBefore)
A filter that returns only training jobs created before the specified time (timestamp).
|
void |
setLastModifiedTimeAfter(Date lastModifiedTimeAfter)
A filter that returns only training jobs modified after the specified time (timestamp).
|
void |
setLastModifiedTimeBefore(Date lastModifiedTimeBefore)
A filter that returns only training jobs modified before the specified time (timestamp).
|
void |
setMaxResults(Integer maxResults)
The maximum number of training jobs to return in the response.
|
void |
setNameContains(String nameContains)
A string in the training job name.
|
void |
setNextToken(String nextToken)
If the result of the previous
ListTrainingJobs request was truncated, the response includes a
NextToken . |
void |
setSortBy(String sortBy)
The field to sort results by.
|
void |
setSortOrder(String sortOrder)
The sort order for results.
|
void |
setStatusEquals(String statusEquals)
A filter that retrieves only training jobs with a specific status.
|
void |
setWarmPoolStatusEquals(String warmPoolStatusEquals)
A filter that retrieves only training jobs with a specific warm pool status.
|
String |
toString()
Returns a string representation of this object.
|
ListTrainingJobsRequest |
withCreationTimeAfter(Date creationTimeAfter)
A filter that returns only training jobs created after the specified time (timestamp).
|
ListTrainingJobsRequest |
withCreationTimeBefore(Date creationTimeBefore)
A filter that returns only training jobs created before the specified time (timestamp).
|
ListTrainingJobsRequest |
withLastModifiedTimeAfter(Date lastModifiedTimeAfter)
A filter that returns only training jobs modified after the specified time (timestamp).
|
ListTrainingJobsRequest |
withLastModifiedTimeBefore(Date lastModifiedTimeBefore)
A filter that returns only training jobs modified before the specified time (timestamp).
|
ListTrainingJobsRequest |
withMaxResults(Integer maxResults)
The maximum number of training jobs to return in the response.
|
ListTrainingJobsRequest |
withNameContains(String nameContains)
A string in the training job name.
|
ListTrainingJobsRequest |
withNextToken(String nextToken)
If the result of the previous
ListTrainingJobs request was truncated, the response includes a
NextToken . |
ListTrainingJobsRequest |
withSortBy(SortBy sortBy)
The field to sort results by.
|
ListTrainingJobsRequest |
withSortBy(String sortBy)
The field to sort results by.
|
ListTrainingJobsRequest |
withSortOrder(SortOrder sortOrder)
The sort order for results.
|
ListTrainingJobsRequest |
withSortOrder(String sortOrder)
The sort order for results.
|
ListTrainingJobsRequest |
withStatusEquals(String statusEquals)
A filter that retrieves only training jobs with a specific status.
|
ListTrainingJobsRequest |
withStatusEquals(TrainingJobStatus statusEquals)
A filter that retrieves only training jobs with a specific status.
|
ListTrainingJobsRequest |
withWarmPoolStatusEquals(String warmPoolStatusEquals)
A filter that retrieves only training jobs with a specific warm pool status.
|
ListTrainingJobsRequest |
withWarmPoolStatusEquals(WarmPoolResourceStatus warmPoolStatusEquals)
A filter that retrieves only training jobs with a specific warm pool status.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setNextToken(String nextToken)
If the result of the previous ListTrainingJobs
request was truncated, the response includes a
NextToken
. To retrieve the next set of training jobs, use the token in the next request.
nextToken
- If the result of the previous ListTrainingJobs
request was truncated, the response includes a
NextToken
. To retrieve the next set of training jobs, use the token in the next request.public String getNextToken()
If the result of the previous ListTrainingJobs
request was truncated, the response includes a
NextToken
. To retrieve the next set of training jobs, use the token in the next request.
ListTrainingJobs
request was truncated, the response includes
a NextToken
. To retrieve the next set of training jobs, use the token in the next request.public ListTrainingJobsRequest withNextToken(String nextToken)
If the result of the previous ListTrainingJobs
request was truncated, the response includes a
NextToken
. To retrieve the next set of training jobs, use the token in the next request.
nextToken
- If the result of the previous ListTrainingJobs
request was truncated, the response includes a
NextToken
. To retrieve the next set of training jobs, use the token in the next request.public void setMaxResults(Integer maxResults)
The maximum number of training jobs to return in the response.
maxResults
- The maximum number of training jobs to return in the response.public Integer getMaxResults()
The maximum number of training jobs to return in the response.
public ListTrainingJobsRequest withMaxResults(Integer maxResults)
The maximum number of training jobs to return in the response.
maxResults
- The maximum number of training jobs to return in the response.public void setCreationTimeAfter(Date creationTimeAfter)
A filter that returns only training jobs created after the specified time (timestamp).
creationTimeAfter
- A filter that returns only training jobs created after the specified time (timestamp).public Date getCreationTimeAfter()
A filter that returns only training jobs created after the specified time (timestamp).
public ListTrainingJobsRequest withCreationTimeAfter(Date creationTimeAfter)
A filter that returns only training jobs created after the specified time (timestamp).
creationTimeAfter
- A filter that returns only training jobs created after the specified time (timestamp).public void setCreationTimeBefore(Date creationTimeBefore)
A filter that returns only training jobs created before the specified time (timestamp).
creationTimeBefore
- A filter that returns only training jobs created before the specified time (timestamp).public Date getCreationTimeBefore()
A filter that returns only training jobs created before the specified time (timestamp).
public ListTrainingJobsRequest withCreationTimeBefore(Date creationTimeBefore)
A filter that returns only training jobs created before the specified time (timestamp).
creationTimeBefore
- A filter that returns only training jobs created before the specified time (timestamp).public void setLastModifiedTimeAfter(Date lastModifiedTimeAfter)
A filter that returns only training jobs modified after the specified time (timestamp).
lastModifiedTimeAfter
- A filter that returns only training jobs modified after the specified time (timestamp).public Date getLastModifiedTimeAfter()
A filter that returns only training jobs modified after the specified time (timestamp).
public ListTrainingJobsRequest withLastModifiedTimeAfter(Date lastModifiedTimeAfter)
A filter that returns only training jobs modified after the specified time (timestamp).
lastModifiedTimeAfter
- A filter that returns only training jobs modified after the specified time (timestamp).public void setLastModifiedTimeBefore(Date lastModifiedTimeBefore)
A filter that returns only training jobs modified before the specified time (timestamp).
lastModifiedTimeBefore
- A filter that returns only training jobs modified before the specified time (timestamp).public Date getLastModifiedTimeBefore()
A filter that returns only training jobs modified before the specified time (timestamp).
public ListTrainingJobsRequest withLastModifiedTimeBefore(Date lastModifiedTimeBefore)
A filter that returns only training jobs modified before the specified time (timestamp).
lastModifiedTimeBefore
- A filter that returns only training jobs modified before the specified time (timestamp).public void setNameContains(String nameContains)
A string in the training job name. This filter returns only training jobs whose name contains the specified string.
nameContains
- A string in the training job name. This filter returns only training jobs whose name contains the
specified string.public String getNameContains()
A string in the training job name. This filter returns only training jobs whose name contains the specified string.
public ListTrainingJobsRequest withNameContains(String nameContains)
A string in the training job name. This filter returns only training jobs whose name contains the specified string.
nameContains
- A string in the training job name. This filter returns only training jobs whose name contains the
specified string.public void setStatusEquals(String statusEquals)
A filter that retrieves only training jobs with a specific status.
statusEquals
- A filter that retrieves only training jobs with a specific status.TrainingJobStatus
public String getStatusEquals()
A filter that retrieves only training jobs with a specific status.
TrainingJobStatus
public ListTrainingJobsRequest withStatusEquals(String statusEquals)
A filter that retrieves only training jobs with a specific status.
statusEquals
- A filter that retrieves only training jobs with a specific status.TrainingJobStatus
public ListTrainingJobsRequest withStatusEquals(TrainingJobStatus statusEquals)
A filter that retrieves only training jobs with a specific status.
statusEquals
- A filter that retrieves only training jobs with a specific status.TrainingJobStatus
public void setSortBy(String sortBy)
The field to sort results by. The default is CreationTime
.
sortBy
- The field to sort results by. The default is CreationTime
.SortBy
public String getSortBy()
The field to sort results by. The default is CreationTime
.
CreationTime
.SortBy
public ListTrainingJobsRequest withSortBy(String sortBy)
The field to sort results by. The default is CreationTime
.
sortBy
- The field to sort results by. The default is CreationTime
.SortBy
public ListTrainingJobsRequest withSortBy(SortBy sortBy)
The field to sort results by. The default is CreationTime
.
sortBy
- The field to sort results by. The default is CreationTime
.SortBy
public void setSortOrder(String sortOrder)
The sort order for results. The default is Ascending
.
sortOrder
- The sort order for results. The default is Ascending
.SortOrder
public String getSortOrder()
The sort order for results. The default is Ascending
.
Ascending
.SortOrder
public ListTrainingJobsRequest withSortOrder(String sortOrder)
The sort order for results. The default is Ascending
.
sortOrder
- The sort order for results. The default is Ascending
.SortOrder
public ListTrainingJobsRequest withSortOrder(SortOrder sortOrder)
The sort order for results. The default is Ascending
.
sortOrder
- The sort order for results. The default is Ascending
.SortOrder
public void setWarmPoolStatusEquals(String warmPoolStatusEquals)
A filter that retrieves only training jobs with a specific warm pool status.
warmPoolStatusEquals
- A filter that retrieves only training jobs with a specific warm pool status.WarmPoolResourceStatus
public String getWarmPoolStatusEquals()
A filter that retrieves only training jobs with a specific warm pool status.
WarmPoolResourceStatus
public ListTrainingJobsRequest withWarmPoolStatusEquals(String warmPoolStatusEquals)
A filter that retrieves only training jobs with a specific warm pool status.
warmPoolStatusEquals
- A filter that retrieves only training jobs with a specific warm pool status.WarmPoolResourceStatus
public ListTrainingJobsRequest withWarmPoolStatusEquals(WarmPoolResourceStatus warmPoolStatusEquals)
A filter that retrieves only training jobs with a specific warm pool status.
warmPoolStatusEquals
- A filter that retrieves only training jobs with a specific warm pool status.WarmPoolResourceStatus
public String toString()
toString
in class Object
Object.toString()
public ListTrainingJobsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()