Interface RemediationExecutionStatus.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RemediationExecutionStatus.Builder,RemediationExecutionStatus>,SdkBuilder<RemediationExecutionStatus.Builder,RemediationExecutionStatus>,SdkPojo
- Enclosing class:
- RemediationExecutionStatus
public static interface RemediationExecutionStatus.Builder extends SdkPojo, CopyableBuilder<RemediationExecutionStatus.Builder,RemediationExecutionStatus>
-
-
Method Summary
-
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
-
resourceKey
RemediationExecutionStatus.Builder resourceKey(ResourceKey resourceKey)
Sets the value of the ResourceKey property for this object.- Parameters:
resourceKey- The new value for the ResourceKey property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceKey
default RemediationExecutionStatus.Builder resourceKey(Consumer<ResourceKey.Builder> resourceKey)
Sets the value of the ResourceKey property for this object. This is a convenience method that creates an instance of theResourceKey.Builderavoiding the need to create one manually viaResourceKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceKey(ResourceKey).- Parameters:
resourceKey- a consumer that will call methods onResourceKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resourceKey(ResourceKey)
-
state
RemediationExecutionStatus.Builder state(String state)
ENUM of the values.
- Parameters:
state- ENUM of the values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RemediationExecutionState,RemediationExecutionState
-
state
RemediationExecutionStatus.Builder state(RemediationExecutionState state)
ENUM of the values.
- Parameters:
state- ENUM of the values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RemediationExecutionState,RemediationExecutionState
-
stepDetails
RemediationExecutionStatus.Builder stepDetails(Collection<RemediationExecutionStep> stepDetails)
Details of every step.
- Parameters:
stepDetails- Details of every step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepDetails
RemediationExecutionStatus.Builder stepDetails(RemediationExecutionStep... stepDetails)
Details of every step.
- Parameters:
stepDetails- Details of every step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepDetails
RemediationExecutionStatus.Builder stepDetails(Consumer<RemediationExecutionStep.Builder>... stepDetails)
Details of every step.
This is a convenience method that creates an instance of theRemediationExecutionStep.Builderavoiding the need to create one manually viaRemediationExecutionStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#stepDetails(List.) - Parameters:
stepDetails- a consumer that will call methods onRemediationExecutionStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#stepDetails(java.util.Collection)
-
invocationTime
RemediationExecutionStatus.Builder invocationTime(Instant invocationTime)
Start time when the remediation was executed.
- Parameters:
invocationTime- Start time when the remediation was executed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
RemediationExecutionStatus.Builder lastUpdatedTime(Instant lastUpdatedTime)
The time when the remediation execution was last updated.
- Parameters:
lastUpdatedTime- The time when the remediation execution was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-