Interface ListServiceJobsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BatchRequest.Builder,Buildable,CopyableBuilder<ListServiceJobsRequest.Builder,ListServiceJobsRequest>,SdkBuilder<ListServiceJobsRequest.Builder,ListServiceJobsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListServiceJobsRequest
@Mutable @NotThreadSafe public static interface ListServiceJobsRequest.Builder extends BatchRequest.Builder, SdkPojo, CopyableBuilder<ListServiceJobsRequest.Builder,ListServiceJobsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListServiceJobsRequest.Builderfilters(Collection<KeyValuesPair> filters)The filter to apply to the query.ListServiceJobsRequest.Builderfilters(Consumer<KeyValuesPair.Builder>... filters)The filter to apply to the query.ListServiceJobsRequest.Builderfilters(KeyValuesPair... filters)The filter to apply to the query.ListServiceJobsRequest.BuilderjobQueue(String jobQueue)The name or ARN of the job queue with which to list service jobs.ListServiceJobsRequest.BuilderjobStatus(String jobStatus)The job status used to filter service jobs in the specified queue.ListServiceJobsRequest.BuilderjobStatus(ServiceJobStatus jobStatus)The job status used to filter service jobs in the specified queue.ListServiceJobsRequest.BuildermaxResults(Integer maxResults)The maximum number of results returned byListServiceJobsin paginated output.ListServiceJobsRequest.BuildernextToken(String nextToken)ThenextTokenvalue returned from a previous paginatedListServiceJobsrequest wheremaxResultswas used and the results exceeded the value of that parameter.ListServiceJobsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListServiceJobsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.batch.model.BatchRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
jobQueue
ListServiceJobsRequest.Builder jobQueue(String jobQueue)
The name or ARN of the job queue with which to list service jobs.
- Parameters:
jobQueue- The name or ARN of the job queue with which to list service jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobStatus
ListServiceJobsRequest.Builder jobStatus(String jobStatus)
The job status used to filter service jobs in the specified queue. If the
filtersparameter is specified, thejobStatusparameter is ignored and jobs with any status are returned. The exceptions are theSHARE_IDENTIFIERfilter andQUOTA_SHARE_NAMEfilter, which can be used withjobStatus. If you don't specify a status, onlyRUNNINGjobs are returned.The
SHARE_IDENTIFIERfilter orQUOTA_SHARE_NAMEfilter can be used with thejobStatusfield to filter results.- Parameters:
jobStatus- The job status used to filter service jobs in the specified queue. If thefiltersparameter is specified, thejobStatusparameter is ignored and jobs with any status are returned. The exceptions are theSHARE_IDENTIFIERfilter andQUOTA_SHARE_NAMEfilter, which can be used withjobStatus. If you don't specify a status, onlyRUNNINGjobs are returned.The
SHARE_IDENTIFIERfilter orQUOTA_SHARE_NAMEfilter can be used with thejobStatusfield to filter results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServiceJobStatus,ServiceJobStatus
-
jobStatus
ListServiceJobsRequest.Builder jobStatus(ServiceJobStatus jobStatus)
The job status used to filter service jobs in the specified queue. If the
filtersparameter is specified, thejobStatusparameter is ignored and jobs with any status are returned. The exceptions are theSHARE_IDENTIFIERfilter andQUOTA_SHARE_NAMEfilter, which can be used withjobStatus. If you don't specify a status, onlyRUNNINGjobs are returned.The
SHARE_IDENTIFIERfilter orQUOTA_SHARE_NAMEfilter can be used with thejobStatusfield to filter results.- Parameters:
jobStatus- The job status used to filter service jobs in the specified queue. If thefiltersparameter is specified, thejobStatusparameter is ignored and jobs with any status are returned. The exceptions are theSHARE_IDENTIFIERfilter andQUOTA_SHARE_NAMEfilter, which can be used withjobStatus. If you don't specify a status, onlyRUNNINGjobs are returned.The
SHARE_IDENTIFIERfilter orQUOTA_SHARE_NAMEfilter can be used with thejobStatusfield to filter results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServiceJobStatus,ServiceJobStatus
-
maxResults
ListServiceJobsRequest.Builder maxResults(Integer maxResults)
The maximum number of results returned by
ListServiceJobsin paginated output. When this parameter is used,ListServiceJobsonly returnsmaxResultsresults in a single page and anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListServiceJobsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter isn't used, thenListServiceJobsreturns up to 100 results and anextTokenvalue if applicable.- Parameters:
maxResults- The maximum number of results returned byListServiceJobsin paginated output. When this parameter is used,ListServiceJobsonly returnsmaxResultsresults in a single page and anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListServiceJobsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter isn't used, thenListServiceJobsreturns up to 100 results and anextTokenvalue if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListServiceJobsRequest.Builder nextToken(String nextToken)
The
nextTokenvalue returned from a previous paginatedListServiceJobsrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
- Parameters:
nextToken- ThenextTokenvalue returned from a previous paginatedListServiceJobsrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListServiceJobsRequest.Builder filters(Collection<KeyValuesPair> filters)
The filter to apply to the query. Only one filter can be used at a time. When the filter is used,
jobStatusis ignored with the exception thatSHARE_IDENTIFIERorQUOTA_SHARE_NAMEandjobStatuscan be used together. The results are sorted by thecreatedAtfield, with the most recent jobs being first.The
SHARE_IDENTIFIERorQUOTA_SHARE_NAMEfilter and thejobStatusfield can be used together to filter results.- JOB_NAME
-
The value of the filter is a case-insensitive match for the job name. If the value ends with an asterisk (*), the filter matches any job name that begins with the string before the '*'. This corresponds to the
jobNamevalue. For example,test1matches bothTest1andtest1, andtest1*matches bothtest1andTest10. When theJOB_NAMEfilter is used, the results are grouped by the job name and version. - BEFORE_CREATED_AT
-
The value for the filter is the time that's before the job was created. This corresponds to the
createdAtvalue. The value is a string representation of the number of milliseconds since 00:00:00 UTC (midnight) on January 1, 1970. - AFTER_CREATED_AT
-
The value for the filter is the time that's after the job was created. This corresponds to the
createdAtvalue. The value is a string representation of the number of milliseconds since 00:00:00 UTC (midnight) on January 1, 1970. - SHARE_IDENTIFIER
-
The value for the filter is the fairshare scheduling share identifier.
- QUOTA_SHARE_NAME
-
The value for the filter is the quota management share name.
- Parameters:
filters- The filter to apply to the query. Only one filter can be used at a time. When the filter is used,jobStatusis ignored with the exception thatSHARE_IDENTIFIERorQUOTA_SHARE_NAMEandjobStatuscan be used together. The results are sorted by thecreatedAtfield, with the most recent jobs being first.The
SHARE_IDENTIFIERorQUOTA_SHARE_NAMEfilter and thejobStatusfield can be used together to filter results.- JOB_NAME
-
The value of the filter is a case-insensitive match for the job name. If the value ends with an asterisk (*), the filter matches any job name that begins with the string before the '*'. This corresponds to the
jobNamevalue. For example,test1matches bothTest1andtest1, andtest1*matches bothtest1andTest10. When theJOB_NAMEfilter is used, the results are grouped by the job name and version. - BEFORE_CREATED_AT
-
The value for the filter is the time that's before the job was created. This corresponds to the
createdAtvalue. The value is a string representation of the number of milliseconds since 00:00:00 UTC (midnight) on January 1, 1970. - AFTER_CREATED_AT
-
The value for the filter is the time that's after the job was created. This corresponds to the
createdAtvalue. The value is a string representation of the number of milliseconds since 00:00:00 UTC (midnight) on January 1, 1970. - SHARE_IDENTIFIER
-
The value for the filter is the fairshare scheduling share identifier.
- QUOTA_SHARE_NAME
-
The value for the filter is the quota management share name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListServiceJobsRequest.Builder filters(KeyValuesPair... filters)
The filter to apply to the query. Only one filter can be used at a time. When the filter is used,
jobStatusis ignored with the exception thatSHARE_IDENTIFIERorQUOTA_SHARE_NAMEandjobStatuscan be used together. The results are sorted by thecreatedAtfield, with the most recent jobs being first.The
SHARE_IDENTIFIERorQUOTA_SHARE_NAMEfilter and thejobStatusfield can be used together to filter results.- JOB_NAME
-
The value of the filter is a case-insensitive match for the job name. If the value ends with an asterisk (*), the filter matches any job name that begins with the string before the '*'. This corresponds to the
jobNamevalue. For example,test1matches bothTest1andtest1, andtest1*matches bothtest1andTest10. When theJOB_NAMEfilter is used, the results are grouped by the job name and version. - BEFORE_CREATED_AT
-
The value for the filter is the time that's before the job was created. This corresponds to the
createdAtvalue. The value is a string representation of the number of milliseconds since 00:00:00 UTC (midnight) on January 1, 1970. - AFTER_CREATED_AT
-
The value for the filter is the time that's after the job was created. This corresponds to the
createdAtvalue. The value is a string representation of the number of milliseconds since 00:00:00 UTC (midnight) on January 1, 1970. - SHARE_IDENTIFIER
-
The value for the filter is the fairshare scheduling share identifier.
- QUOTA_SHARE_NAME
-
The value for the filter is the quota management share name.
- Parameters:
filters- The filter to apply to the query. Only one filter can be used at a time. When the filter is used,jobStatusis ignored with the exception thatSHARE_IDENTIFIERorQUOTA_SHARE_NAMEandjobStatuscan be used together. The results are sorted by thecreatedAtfield, with the most recent jobs being first.The
SHARE_IDENTIFIERorQUOTA_SHARE_NAMEfilter and thejobStatusfield can be used together to filter results.- JOB_NAME
-
The value of the filter is a case-insensitive match for the job name. If the value ends with an asterisk (*), the filter matches any job name that begins with the string before the '*'. This corresponds to the
jobNamevalue. For example,test1matches bothTest1andtest1, andtest1*matches bothtest1andTest10. When theJOB_NAMEfilter is used, the results are grouped by the job name and version. - BEFORE_CREATED_AT
-
The value for the filter is the time that's before the job was created. This corresponds to the
createdAtvalue. The value is a string representation of the number of milliseconds since 00:00:00 UTC (midnight) on January 1, 1970. - AFTER_CREATED_AT
-
The value for the filter is the time that's after the job was created. This corresponds to the
createdAtvalue. The value is a string representation of the number of milliseconds since 00:00:00 UTC (midnight) on January 1, 1970. - SHARE_IDENTIFIER
-
The value for the filter is the fairshare scheduling share identifier.
- QUOTA_SHARE_NAME
-
The value for the filter is the quota management share name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListServiceJobsRequest.Builder filters(Consumer<KeyValuesPair.Builder>... filters)
The filter to apply to the query. Only one filter can be used at a time. When the filter is used,
jobStatusis ignored with the exception thatSHARE_IDENTIFIERorQUOTA_SHARE_NAMEandjobStatuscan be used together. The results are sorted by thecreatedAtfield, with the most recent jobs being first.The
SHARE_IDENTIFIERorQUOTA_SHARE_NAMEfilter and thejobStatusfield can be used together to filter results.- JOB_NAME
-
The value of the filter is a case-insensitive match for the job name. If the value ends with an asterisk (*), the filter matches any job name that begins with the string before the '*'. This corresponds to the
jobNamevalue. For example,test1matches bothTest1andtest1, andtest1*matches bothtest1andTest10. When theJOB_NAMEfilter is used, the results are grouped by the job name and version. - BEFORE_CREATED_AT
-
The value for the filter is the time that's before the job was created. This corresponds to the
createdAtvalue. The value is a string representation of the number of milliseconds since 00:00:00 UTC (midnight) on January 1, 1970. - AFTER_CREATED_AT
-
The value for the filter is the time that's after the job was created. This corresponds to the
createdAtvalue. The value is a string representation of the number of milliseconds since 00:00:00 UTC (midnight) on January 1, 1970. - SHARE_IDENTIFIER
-
The value for the filter is the fairshare scheduling share identifier.
- QUOTA_SHARE_NAME
-
The value for the filter is the quota management share name.
KeyValuesPair.Builderavoiding the need to create one manually viaKeyValuesPair.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onKeyValuesPair.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
overrideConfiguration
ListServiceJobsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListServiceJobsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-