Interface ListJobRunsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListJobRunsRequest.Builder,ListJobRunsRequest>
,EmrServerlessRequest.Builder
,SdkBuilder<ListJobRunsRequest.Builder,ListJobRunsRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ListJobRunsRequest
public static interface ListJobRunsRequest.Builder extends EmrServerlessRequest.Builder, SdkPojo, CopyableBuilder<ListJobRunsRequest.Builder,ListJobRunsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListJobRunsRequest.Builder
applicationId(String applicationId)
The ID of the application for which to list the job run.ListJobRunsRequest.Builder
createdAtAfter(Instant createdAtAfter)
The lower bound of the option to filter by creation date and time.ListJobRunsRequest.Builder
createdAtBefore(Instant createdAtBefore)
The upper bound of the option to filter by creation date and time.ListJobRunsRequest.Builder
maxResults(Integer maxResults)
The maximum number of job runs that can be listed.ListJobRunsRequest.Builder
mode(String mode)
The mode of the job runs to list.ListJobRunsRequest.Builder
mode(JobRunMode mode)
The mode of the job runs to list.ListJobRunsRequest.Builder
nextToken(String nextToken)
The token for the next set of job run results.ListJobRunsRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ListJobRunsRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ListJobRunsRequest.Builder
states(Collection<JobRunState> states)
An optional filter for job run states.ListJobRunsRequest.Builder
states(JobRunState... states)
An optional filter for job run states.ListJobRunsRequest.Builder
statesWithStrings(String... states)
An optional filter for job run states.ListJobRunsRequest.Builder
statesWithStrings(Collection<String> states)
An optional filter for job run states.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.emrserverless.model.EmrServerlessRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
applicationId
ListJobRunsRequest.Builder applicationId(String applicationId)
The ID of the application for which to list the job run.
- Parameters:
applicationId
- The ID of the application for which to list the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListJobRunsRequest.Builder nextToken(String nextToken)
The token for the next set of job run results.
- Parameters:
nextToken
- The token for the next set of job run results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListJobRunsRequest.Builder maxResults(Integer maxResults)
The maximum number of job runs that can be listed.
- Parameters:
maxResults
- The maximum number of job runs that can be listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAtAfter
ListJobRunsRequest.Builder createdAtAfter(Instant createdAtAfter)
The lower bound of the option to filter by creation date and time.
- Parameters:
createdAtAfter
- The lower bound of the option to filter by creation date and time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAtBefore
ListJobRunsRequest.Builder createdAtBefore(Instant createdAtBefore)
The upper bound of the option to filter by creation date and time.
- Parameters:
createdAtBefore
- The upper bound of the option to filter by creation date and time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statesWithStrings
ListJobRunsRequest.Builder statesWithStrings(Collection<String> states)
An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
- Parameters:
states
- An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statesWithStrings
ListJobRunsRequest.Builder statesWithStrings(String... states)
An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
- Parameters:
states
- An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
states
ListJobRunsRequest.Builder states(Collection<JobRunState> states)
An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
- Parameters:
states
- An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
states
ListJobRunsRequest.Builder states(JobRunState... states)
An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
- Parameters:
states
- An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mode
ListJobRunsRequest.Builder mode(String mode)
The mode of the job runs to list.
- Parameters:
mode
- The mode of the job runs to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobRunMode
,JobRunMode
-
mode
ListJobRunsRequest.Builder mode(JobRunMode mode)
The mode of the job runs to list.
- Parameters:
mode
- The mode of the job runs to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobRunMode
,JobRunMode
-
overrideConfiguration
ListJobRunsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ListJobRunsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-