Interface ClusterNodeDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClusterNodeDetails.Builder,
,ClusterNodeDetails> SdkBuilder<ClusterNodeDetails.Builder,
,ClusterNodeDetails> SdkPojo
- Enclosing class:
ClusterNodeDetails
public static interface ClusterNodeDetails.Builder
extends SdkPojo, CopyableBuilder<ClusterNodeDetails.Builder,ClusterNodeDetails>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceGroupName
(String instanceGroupName) The instance group name in which the instance is.instanceId
(String instanceId) The ID of the instance.default ClusterNodeDetails.Builder
instanceStatus
(Consumer<ClusterInstanceStatusDetails.Builder> instanceStatus) The status of the instance.instanceStatus
(ClusterInstanceStatusDetails instanceStatus) The status of the instance.instanceType
(String instanceType) The type of the instance.instanceType
(ClusterInstanceType instanceType) The type of the instance.launchTime
(Instant launchTime) The time when the instance is launched.default ClusterNodeDetails.Builder
lifeCycleConfig
(Consumer<ClusterLifeCycleConfig.Builder> lifeCycleConfig) The LifeCycle configuration applied to the instance.lifeCycleConfig
(ClusterLifeCycleConfig lifeCycleConfig) The LifeCycle configuration applied to the instance.threadsPerCore
(Integer threadsPerCore) The number of threads per CPU core you specified underCreateCluster
.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
-
instanceGroupName
The instance group name in which the instance is.
- Parameters:
instanceGroupName
- The instance group name in which the instance is.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
The ID of the instance.
- Parameters:
instanceId
- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceStatus
The status of the instance.
- Parameters:
instanceStatus
- The status of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceStatus
default ClusterNodeDetails.Builder instanceStatus(Consumer<ClusterInstanceStatusDetails.Builder> instanceStatus) The status of the instance.
This is a convenience method that creates an instance of theClusterInstanceStatusDetails.Builder
avoiding the need to create one manually viaClusterInstanceStatusDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceStatus(ClusterInstanceStatusDetails)
.- Parameters:
instanceStatus
- a consumer that will call methods onClusterInstanceStatusDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
The type of the instance.
- Parameters:
instanceType
- The type of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
The type of the instance.
- Parameters:
instanceType
- The type of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
launchTime
The time when the instance is launched.
- Parameters:
launchTime
- The time when the instance is launched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifeCycleConfig
The LifeCycle configuration applied to the instance.
- Parameters:
lifeCycleConfig
- The LifeCycle configuration applied to the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifeCycleConfig
default ClusterNodeDetails.Builder lifeCycleConfig(Consumer<ClusterLifeCycleConfig.Builder> lifeCycleConfig) The LifeCycle configuration applied to the instance.
This is a convenience method that creates an instance of theClusterLifeCycleConfig.Builder
avoiding the need to create one manually viaClusterLifeCycleConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolifeCycleConfig(ClusterLifeCycleConfig)
.- Parameters:
lifeCycleConfig
- a consumer that will call methods onClusterLifeCycleConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
threadsPerCore
The number of threads per CPU core you specified under
CreateCluster
.- Parameters:
threadsPerCore
- The number of threads per CPU core you specified underCreateCluster
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-