Interface CanaryStatus.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CanaryStatus.Builder,CanaryStatus>,SdkBuilder<CanaryStatus.Builder,CanaryStatus>,SdkPojo
- Enclosing class:
- CanaryStatus
public static interface CanaryStatus.Builder extends SdkPojo, CopyableBuilder<CanaryStatus.Builder,CanaryStatus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CanaryStatus.Builderstate(String state)The current state of the canary.CanaryStatus.Builderstate(CanaryState state)The current state of the canary.CanaryStatus.BuilderstateReason(String stateReason)If the canary has insufficient permissions to run, this field provides more details.CanaryStatus.BuilderstateReasonCode(String stateReasonCode)If the canary cannot run or has failed, this field displays the reason.CanaryStatus.BuilderstateReasonCode(CanaryStateReasonCode stateReasonCode)If the canary cannot run or has failed, this field displays the reason.-
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
-
state
CanaryStatus.Builder state(String 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:
CanaryState,CanaryState
-
state
CanaryStatus.Builder state(CanaryState 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:
CanaryState,CanaryState
-
stateReason
CanaryStatus.Builder stateReason(String stateReason)
If the canary has insufficient permissions to run, this field provides more details.
- Parameters:
stateReason- If the canary has insufficient permissions to run, this field provides more details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateReasonCode
CanaryStatus.Builder stateReasonCode(String stateReasonCode)
If the canary cannot run or has failed, this field displays the reason.
- Parameters:
stateReasonCode- If the canary cannot run or has failed, this field displays the reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CanaryStateReasonCode,CanaryStateReasonCode
-
stateReasonCode
CanaryStatus.Builder stateReasonCode(CanaryStateReasonCode stateReasonCode)
If the canary cannot run or has failed, this field displays the reason.
- Parameters:
stateReasonCode- If the canary cannot run or has failed, this field displays the reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CanaryStateReasonCode,CanaryStateReasonCode
-
-