Interface ComponentState.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ComponentState.Builder,ComponentState>,SdkBuilder<ComponentState.Builder,ComponentState>,SdkPojo
- Enclosing class:
- ComponentState
public static interface ComponentState.Builder extends SdkPojo, CopyableBuilder<ComponentState.Builder,ComponentState>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComponentState.Builderreason(String reason)Describes how or why the component changed state.ComponentState.Builderstatus(String status)The current state of the component.ComponentState.Builderstatus(ComponentStatus status)The current state of the component.-
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
-
status
ComponentState.Builder status(String status)
The current state of the component.
- Parameters:
status- The current state of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComponentStatus,ComponentStatus
-
status
ComponentState.Builder status(ComponentStatus status)
The current state of the component.
- Parameters:
status- The current state of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComponentStatus,ComponentStatus
-
reason
ComponentState.Builder reason(String reason)
Describes how or why the component changed state.
- Parameters:
reason- Describes how or why the component changed state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-