Interface UpdateClusterSlurmConfigurationRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateClusterSlurmConfigurationRequest.Builder,,UpdateClusterSlurmConfigurationRequest> SdkBuilder<UpdateClusterSlurmConfigurationRequest.Builder,,UpdateClusterSlurmConfigurationRequest> SdkPojo
- Enclosing class:
UpdateClusterSlurmConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccounting(Consumer<UpdateAccountingRequest.Builder> accounting) The accounting configuration includes configurable settings for Slurm accounting.accounting(UpdateAccountingRequest accounting) The accounting configuration includes configurable settings for Slurm accounting.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.slurmRest(Consumer<UpdateSlurmRestRequest.Builder> slurmRest) The Slurm REST API configuration for the cluster.slurmRest(UpdateSlurmRestRequest slurmRest) The Slurm REST API configuration for the cluster.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
UpdateClusterSlurmConfigurationRequest.Builder scaleDownIdleTimeInSeconds(Integer scaleDownIdleTimeInSeconds) The time (in seconds) before an idle node is scaled down.
Default:
600- Parameters:
scaleDownIdleTimeInSeconds- The time (in seconds) before an idle node is scaled down.Default:
600- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slurmCustomSettings
UpdateClusterSlurmConfigurationRequest.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
UpdateClusterSlurmConfigurationRequest.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
UpdateClusterSlurmConfigurationRequest.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:
-
accounting
The accounting configuration includes configurable settings for Slurm accounting.
- Parameters:
accounting- The accounting configuration includes configurable settings for Slurm accounting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounting
default UpdateClusterSlurmConfigurationRequest.Builder accounting(Consumer<UpdateAccountingRequest.Builder> accounting) The accounting configuration includes configurable settings for Slurm accounting.
This is a convenience method that creates an instance of theUpdateAccountingRequest.Builderavoiding the need to create one manually viaUpdateAccountingRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccounting(UpdateAccountingRequest).- Parameters:
accounting- a consumer that will call methods onUpdateAccountingRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
slurmRest
The Slurm REST API configuration for the cluster.
- Parameters:
slurmRest- The Slurm REST API configuration for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slurmRest
default UpdateClusterSlurmConfigurationRequest.Builder slurmRest(Consumer<UpdateSlurmRestRequest.Builder> slurmRest) The Slurm REST API configuration for the cluster.
This is a convenience method that creates an instance of theUpdateSlurmRestRequest.Builderavoiding the need to create one manually viaUpdateSlurmRestRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toslurmRest(UpdateSlurmRestRequest).- Parameters:
slurmRest- a consumer that will call methods onUpdateSlurmRestRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-