Interface ClusterConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClusterConfiguration.Builder,
,ClusterConfiguration> SdkBuilder<ClusterConfiguration.Builder,
,ClusterConfiguration> SdkPojo
- Enclosing class:
ClusterConfiguration
public static interface ClusterConfiguration.Builder
extends SdkPojo, CopyableBuilder<ClusterConfiguration.Builder,ClusterConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ClusterConfiguration.Builder
executeCommandConfiguration
(Consumer<ExecuteCommandConfiguration.Builder> executeCommandConfiguration) The details of the execute command configuration.executeCommandConfiguration
(ExecuteCommandConfiguration executeCommandConfiguration) The details of the execute command configuration.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 Details
-
executeCommandConfiguration
ClusterConfiguration.Builder executeCommandConfiguration(ExecuteCommandConfiguration executeCommandConfiguration) The details of the execute command configuration.
- Parameters:
executeCommandConfiguration
- The details of the execute command configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executeCommandConfiguration
default ClusterConfiguration.Builder executeCommandConfiguration(Consumer<ExecuteCommandConfiguration.Builder> executeCommandConfiguration) The details of the execute command configuration.
This is a convenience method that creates an instance of theExecuteCommandConfiguration.Builder
avoiding the need to create one manually viaExecuteCommandConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecuteCommandConfiguration(ExecuteCommandConfiguration)
.- Parameters:
executeCommandConfiguration
- a consumer that will call methods onExecuteCommandConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-