Interface ClusterSlurmConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ClusterSlurmConfiguration.Builder,ClusterSlurmConfiguration>,SdkBuilder<ClusterSlurmConfiguration.Builder,ClusterSlurmConfiguration>,SdkPojo
- Enclosing class:
- ClusterSlurmConfiguration
public static interface ClusterSlurmConfiguration.Builder extends SdkPojo, CopyableBuilder<ClusterSlurmConfiguration.Builder,ClusterSlurmConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ClusterSlurmConfiguration.BuilderauthKey(Consumer<SlurmAuthKey.Builder> authKey)The shared Slurm key for authentication, also known as the cluster secret.ClusterSlurmConfiguration.BuilderauthKey(SlurmAuthKey authKey)The shared Slurm key for authentication, also known as the cluster secret.ClusterSlurmConfiguration.BuilderscaleDownIdleTimeInSeconds(Integer scaleDownIdleTimeInSeconds)The time before an idle node is scaled down.ClusterSlurmConfiguration.BuilderslurmCustomSettings(Collection<SlurmCustomSetting> slurmCustomSettings)Additional Slurm-specific configuration that directly maps to Slurm settings.ClusterSlurmConfiguration.BuilderslurmCustomSettings(Consumer<SlurmCustomSetting.Builder>... slurmCustomSettings)Additional Slurm-specific configuration that directly maps to Slurm settings.ClusterSlurmConfiguration.BuilderslurmCustomSettings(SlurmCustomSetting... slurmCustomSettings)Additional Slurm-specific configuration that directly maps to Slurm settings.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
scaleDownIdleTimeInSeconds
ClusterSlurmConfiguration.Builder scaleDownIdleTimeInSeconds(Integer scaleDownIdleTimeInSeconds)
The time before an idle node is scaled down.
- Parameters:
scaleDownIdleTimeInSeconds- The time before an idle node is scaled down.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slurmCustomSettings
ClusterSlurmConfiguration.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
ClusterSlurmConfiguration.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
ClusterSlurmConfiguration.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 to#slurmCustomSettings(List.) - 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:
#slurmCustomSettings(java.util.Collection)
-
authKey
ClusterSlurmConfiguration.Builder authKey(SlurmAuthKey authKey)
The shared Slurm key for authentication, also known as the cluster secret.
- Parameters:
authKey- The shared Slurm key for authentication, also known as the cluster secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authKey
default ClusterSlurmConfiguration.Builder authKey(Consumer<SlurmAuthKey.Builder> authKey)
The shared Slurm key for authentication, also known as the cluster secret.
This is a convenience method that creates an instance of theSlurmAuthKey.Builderavoiding the need to create one manually viaSlurmAuthKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthKey(SlurmAuthKey).- Parameters:
authKey- a consumer that will call methods onSlurmAuthKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
authKey(SlurmAuthKey)
-
-