Interface UpdateComputeNodeGroupSlurmConfigurationRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateComputeNodeGroupSlurmConfigurationRequest.Builder,,UpdateComputeNodeGroupSlurmConfigurationRequest> SdkBuilder<UpdateComputeNodeGroupSlurmConfigurationRequest.Builder,,UpdateComputeNodeGroupSlurmConfigurationRequest> SdkPojo
- Enclosing class:
UpdateComputeNodeGroupSlurmConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptiongresCustomSettings(Collection<? extends Map<String, String>> gresCustomSettings) The additional Slurmgres.confrecords for the compute node group.gresCustomSettings(Map<String, String>... gresCustomSettings) The additional Slurmgres.confrecords for the compute node group.scaleDownIdleTimeInSeconds(Integer scaleDownIdleTimeInSeconds) The time (in seconds) before an idle node is scaled down.slurmCustomSettings(Collection<SlurmCustomSetting> slurmCustomSettings) Additional Slurm-specific configuration that directly maps to Slurm settings.slurmCustomSettings(Consumer<SlurmCustomSetting.Builder>... slurmCustomSettings) Additional Slurm-specific configuration that directly maps to Slurm settings.slurmCustomSettings(SlurmCustomSetting... slurmCustomSettings) Additional Slurm-specific configuration that directly maps to Slurm settings.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
scaleDownIdleTimeInSeconds
UpdateComputeNodeGroupSlurmConfigurationRequest.Builder scaleDownIdleTimeInSeconds(Integer scaleDownIdleTimeInSeconds) The time (in seconds) before an idle node is scaled down. If not specified, the cluster-level setting applies. This overrides the cluster-level
scaleDownIdleTimeInSecondssetting. A value of-1removes the override and applies the cluster-level setting to this compute node group. Requires Slurm version 25.11 or later.- Parameters:
scaleDownIdleTimeInSeconds- The time (in seconds) before an idle node is scaled down. If not specified, the cluster-level setting applies. This overrides the cluster-levelscaleDownIdleTimeInSecondssetting. A value of-1removes the override and applies the cluster-level setting to this compute node group. Requires Slurm version 25.11 or later.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slurmCustomSettings
UpdateComputeNodeGroupSlurmConfigurationRequest.Builder slurmCustomSettings(Collection<SlurmCustomSetting> slurmCustomSettings) Additional Slurm-specific configuration that directly maps to Slurm settings.
- Parameters:
slurmCustomSettings- Additional Slurm-specific configuration that directly maps to Slurm settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slurmCustomSettings
UpdateComputeNodeGroupSlurmConfigurationRequest.Builder slurmCustomSettings(SlurmCustomSetting... slurmCustomSettings) Additional Slurm-specific configuration that directly maps to Slurm settings.
- Parameters:
slurmCustomSettings- Additional Slurm-specific configuration that directly maps to Slurm settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slurmCustomSettings
UpdateComputeNodeGroupSlurmConfigurationRequest.Builder slurmCustomSettings(Consumer<SlurmCustomSetting.Builder>... slurmCustomSettings) Additional Slurm-specific configuration that directly maps to Slurm settings.
This is a convenience method that creates an instance of theSlurmCustomSetting.Builderavoiding the need to create one manually viaSlurmCustomSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toslurmCustomSettings(List<SlurmCustomSetting>).- Parameters:
slurmCustomSettings- a consumer that will call methods onSlurmCustomSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gresCustomSettings
UpdateComputeNodeGroupSlurmConfigurationRequest.Builder gresCustomSettings(Collection<? extends Map<String, String>> gresCustomSettings) The additional Slurm
gres.confrecords for the compute node group. Each item is a map ofgres.confattribute names to values that describes onegres.confrecord, such as a GPU topology, MIG, MPS, or custom GRES entry. PCS adds theNodeName=prefix and merges these records with the GPU record it derives from the instance type.- Parameters:
gresCustomSettings- The additional Slurmgres.confrecords for the compute node group. Each item is a map ofgres.confattribute names to values that describes onegres.confrecord, such as a GPU topology, MIG, MPS, or custom GRES entry. PCS adds theNodeName=prefix and merges these records with the GPU record it derives from the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gresCustomSettings
UpdateComputeNodeGroupSlurmConfigurationRequest.Builder gresCustomSettings(Map<String, String>... gresCustomSettings) The additional Slurm
gres.confrecords for the compute node group. Each item is a map ofgres.confattribute names to values that describes onegres.confrecord, such as a GPU topology, MIG, MPS, or custom GRES entry. PCS adds theNodeName=prefix and merges these records with the GPU record it derives from the instance type.- Parameters:
gresCustomSettings- The additional Slurmgres.confrecords for the compute node group. Each item is a map ofgres.confattribute names to values that describes onegres.confrecord, such as a GPU topology, MIG, MPS, or custom GRES entry. PCS adds theNodeName=prefix and merges these records with the GPU record it derives from the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-