Interface ListJobRunsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListJobRunsRequest.Builder,,ListJobRunsRequest> EmrContainersRequest.Builder,SdkBuilder<ListJobRunsRequest.Builder,,ListJobRunsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListJobRunsRequest
@Mutable
@NotThreadSafe
public static interface ListJobRunsRequest.Builder
extends EmrContainersRequest.Builder, SdkPojo, CopyableBuilder<ListJobRunsRequest.Builder,ListJobRunsRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncreatedAfter(Instant createdAfter) The date and time after which the job runs were submitted.createdBefore(Instant createdBefore) The date and time before which the job runs were submitted.maxResults(Integer maxResults) The maximum number of job runs that can be listed.The name of the job run.The token for the next set of job runs to return.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.states(Collection<JobRunState> states) The states of the job run.states(JobRunState... states) The states of the job run.statesWithStrings(String... states) The states of the job run.statesWithStrings(Collection<String> states) The states of the job run.virtualClusterId(String virtualClusterId) The ID of the virtual cluster for which to list the job run.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.emrcontainers.model.EmrContainersRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
virtualClusterId
The ID of the virtual cluster for which to list the job run.
- Parameters:
virtualClusterId- The ID of the virtual cluster for which to list the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBefore
The date and time before which the job runs were submitted.
- Parameters:
createdBefore- The date and time before which the job runs were submitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAfter
The date and time after which the job runs were submitted.
- Parameters:
createdAfter- The date and time after which the job runs were submitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the job run.
- Parameters:
name- The name of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statesWithStrings
The states of the job run.
- Parameters:
states- The states of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statesWithStrings
The states of the job run.
- Parameters:
states- The states of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
states
The states of the job run.
- Parameters:
states- The states of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
states
The states of the job run.
- Parameters:
states- The states of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
nextToken
The token for the next set of job runs to return.
- Parameters:
nextToken- The token for the next set of job runs to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListJobRunsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListJobRunsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-