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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateRunGroupRequest.BuildermaxCpus(Integer maxCpus)The maximum number of CPUs that can run concurrently across all active runs in the run group.CreateRunGroupRequest.BuildermaxDuration(Integer maxDuration)The maximum time for each run (in minutes).CreateRunGroupRequest.BuildermaxGpus(Integer maxGpus)The maximum number of GPUs that can run concurrently across all active runs in the run group.CreateRunGroupRequest.BuildermaxRuns(Integer maxRuns)The maximum number of runs that can be running at the same time.CreateRunGroupRequest.Buildername(String name)A name for the group.CreateRunGroupRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateRunGroupRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateRunGroupRequest.BuilderrequestId(String requestIdValue)To ensure that requests don't run multiple times, specify a unique ID for each request.CreateRunGroupRequest.Buildertags(Map<String,String> tags)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 Detail
-
name
CreateRunGroupRequest.Builder name(String 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
CreateRunGroupRequest.Builder maxCpus(Integer 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
CreateRunGroupRequest.Builder maxRuns(Integer 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
CreateRunGroupRequest.Builder maxDuration(Integer 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
CreateRunGroupRequest.Builder tags(Map<String,String> 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
CreateRunGroupRequest.Builder requestId(String requestIdValue)
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
CreateRunGroupRequest.Builder maxGpus(Integer 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRunGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-