Interface CanaryStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CanaryStatus.Builder,
,CanaryStatus> SdkBuilder<CanaryStatus.Builder,
,CanaryStatus> SdkPojo
- Enclosing class:
CanaryStatus
@Mutable
@NotThreadSafe
public static interface CanaryStatus.Builder
extends SdkPojo, CopyableBuilder<CanaryStatus.Builder,CanaryStatus>
-
Method Summary
Modifier and TypeMethodDescriptionThe current state of the canary.state
(CanaryState state) The current state of the canary.stateReason
(String stateReason) If the canary creation or update failed, this field provides details on the failure.stateReasonCode
(String stateReasonCode) If the canary creation or update failed, this field displays the reason code.stateReasonCode
(CanaryStateReasonCode stateReasonCode) If the canary creation or update failed, this field displays the reason code.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, sdkFieldNameToField, sdkFields
-
Method Details
-
state
The current state of the canary.
- Parameters:
state
- The current state of the canary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the canary.
- Parameters:
state
- The current state of the canary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateReason
If the canary creation or update failed, this field provides details on the failure.
- Parameters:
stateReason
- If the canary creation or update failed, this field provides details on the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateReasonCode
If the canary creation or update failed, this field displays the reason code.
- Parameters:
stateReasonCode
- If the canary creation or update failed, this field displays the reason code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateReasonCode
If the canary creation or update failed, this field displays the reason code.
- Parameters:
stateReasonCode
- If the canary creation or update failed, this field displays the reason code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-