Interface CreateRunGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateRunGroupRequest.Builder,
,CreateRunGroupRequest> OmicsRequest.Builder
,SdkBuilder<CreateRunGroupRequest.Builder,
,CreateRunGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateRunGroupRequest
@Mutable
@NotThreadSafe
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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.omics.model.OmicsRequest.Builder
build
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 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-