Interface ClusterNodeSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ClusterNodeSummary.Builder,ClusterNodeSummary>,SdkBuilder<ClusterNodeSummary.Builder,ClusterNodeSummary>,SdkPojo
- Enclosing class:
- ClusterNodeSummary
public static interface ClusterNodeSummary.Builder extends SdkPojo, CopyableBuilder<ClusterNodeSummary.Builder,ClusterNodeSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ClusterNodeSummary.BuilderinstanceGroupName(String instanceGroupName)The name of the instance group in which the instance is.ClusterNodeSummary.BuilderinstanceId(String instanceId)The ID of the instance.default ClusterNodeSummary.BuilderinstanceStatus(Consumer<ClusterInstanceStatusDetails.Builder> instanceStatus)The status of the instance.ClusterNodeSummary.BuilderinstanceStatus(ClusterInstanceStatusDetails instanceStatus)The status of the instance.ClusterNodeSummary.BuilderinstanceType(String instanceType)The type of the instance.ClusterNodeSummary.BuilderinstanceType(ClusterInstanceType instanceType)The type of the instance.ClusterNodeSummary.BuilderlaunchTime(Instant launchTime)The time when the instance is launched.-
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
-
instanceGroupName
ClusterNodeSummary.Builder instanceGroupName(String instanceGroupName)
The name of the instance group in which the instance is.
- Parameters:
instanceGroupName- The name of the instance group in which the instance is.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
ClusterNodeSummary.Builder instanceId(String 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.
-
instanceType
ClusterNodeSummary.Builder instanceType(String 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:
ClusterInstanceType,ClusterInstanceType
-
instanceType
ClusterNodeSummary.Builder instanceType(ClusterInstanceType 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:
ClusterInstanceType,ClusterInstanceType
-
launchTime
ClusterNodeSummary.Builder launchTime(Instant 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.
-
instanceStatus
ClusterNodeSummary.Builder instanceStatus(ClusterInstanceStatusDetails 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 ClusterNodeSummary.Builder instanceStatus(Consumer<ClusterInstanceStatusDetails.Builder> instanceStatus)
The status of the instance.
This is a convenience method that creates an instance of theClusterInstanceStatusDetails.Builderavoiding the need to create one manually viaClusterInstanceStatusDetails.builder().When the
Consumercompletes,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:
instanceStatus(ClusterInstanceStatusDetails)
-
-