Interface ComputeNodeGroupSlurmConfigurationRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComputeNodeGroupSlurmConfigurationRequest.Builder,
,ComputeNodeGroupSlurmConfigurationRequest> SdkBuilder<ComputeNodeGroupSlurmConfigurationRequest.Builder,
,ComputeNodeGroupSlurmConfigurationRequest> SdkPojo
- Enclosing class:
ComputeNodeGroupSlurmConfigurationRequest
@Mutable
@NotThreadSafe
public static interface ComputeNodeGroupSlurmConfigurationRequest.Builder
extends SdkPojo, CopyableBuilder<ComputeNodeGroupSlurmConfigurationRequest.Builder,ComputeNodeGroupSlurmConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionslurmCustomSettings
(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
copy
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
-
slurmCustomSettings
ComputeNodeGroupSlurmConfigurationRequest.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
ComputeNodeGroupSlurmConfigurationRequest.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
ComputeNodeGroupSlurmConfigurationRequest.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.Builder
avoiding the need to create one manually viaSlurmCustomSetting.builder()
.When the
Consumer
completes,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:
-