Interface ComputeNodeExecutionStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ComputeNodeExecutionStatus.Builder,,ComputeNodeExecutionStatus> SdkBuilder<ComputeNodeExecutionStatus.Builder,,ComputeNodeExecutionStatus> SdkPojo
- Enclosing class:
ComputeNodeExecutionStatus
@Mutable
@NotThreadSafe
public static interface ComputeNodeExecutionStatus.Builder
extends SdkPojo, CopyableBuilder<ComputeNodeExecutionStatus.Builder,ComputeNodeExecutionStatus>
-
Method Summary
Modifier and TypeMethodDescriptionCurrent state of the compute node execution.state(ComputeNodeExecutionState state) Current state of the compute node execution.stateDetails(Consumer<ComputeNodeExecutionStateDetails.Builder> stateDetails) Additional information about the compute node's failure.stateDetails(ComputeNodeExecutionStateDetails stateDetails) Additional information about the compute node's failure.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
-
state
Current state of the compute node execution.
- Parameters:
state- Current state of the compute node execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
Current state of the compute node execution.
- Parameters:
state- Current state of the compute node execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateDetails
Additional information about the compute node's failure. Populated when the compute node has failed.
- Parameters:
stateDetails- Additional information about the compute node's failure. Populated when the compute node has failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateDetails
default ComputeNodeExecutionStatus.Builder stateDetails(Consumer<ComputeNodeExecutionStateDetails.Builder> stateDetails) Additional information about the compute node's failure. Populated when the compute node has failed.
This is a convenience method that creates an instance of theComputeNodeExecutionStateDetails.Builderavoiding the need to create one manually viaComputeNodeExecutionStateDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostateDetails(ComputeNodeExecutionStateDetails).- Parameters:
stateDetails- a consumer that will call methods onComputeNodeExecutionStateDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-