Interface CreateRunGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRunGroupRequest.Builder,,CreateRunGroupRequest> OmicsRequest.Builder,SdkBuilder<CreateRunGroupRequest.Builder,,CreateRunGroupRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRunGroupRequest
public static interface CreateRunGroupRequest.Builder
extends OmicsRequest.Builder, SdkPojo, CopyableBuilder<CreateRunGroupRequest.Builder,CreateRunGroupRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe maximum number of CPUs that can run concurrently across all active runs in the run group.maxDuration(Integer maxDuration) The maximum time for each run (in minutes).The maximum number of GPUs that can run concurrently across all active runs in the run group.The maximum number of runs that can be running at the same time.A name for the group.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.To ensure that requests don't run multiple times, specify a unique ID for each request.Tags for the group.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.omics.model.OmicsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
A name for the group.
- Parameters:
name- A name for the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxCpus
The maximum number of CPUs that can run concurrently across all active runs in the run group.
- Parameters:
maxCpus- The maximum number of CPUs that can run concurrently across all active runs in the run group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxRuns
The maximum number of runs that can be running at the same time.
- Parameters:
maxRuns- The maximum number of runs that can be running at the same time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxDuration
The maximum time for each run (in minutes). If a run exceeds the maximum run time, the run fails automatically.
- Parameters:
maxDuration- The maximum time for each run (in minutes). If a run exceeds the maximum run time, the run fails automatically.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags for the group.
- Parameters:
tags- Tags for the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestId
To ensure that requests don't run multiple times, specify a unique ID for each request.
- Parameters:
requestIdValue- To ensure that requests don't run multiple times, specify a unique ID for each request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxGpus
The maximum number of GPUs that can run concurrently across all active runs in the run group.
- Parameters:
maxGpus- The maximum number of GPUs that can run concurrently across all active runs in the run group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateRunGroupRequest.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
CreateRunGroupRequest.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.
-