Interface RemediationExecutionStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RemediationExecutionStatus.Builder,,RemediationExecutionStatus> SdkBuilder<RemediationExecutionStatus.Builder,,RemediationExecutionStatus> SdkPojo
- Enclosing class:
RemediationExecutionStatus
@Mutable
@NotThreadSafe
public static interface RemediationExecutionStatus.Builder
extends SdkPojo, CopyableBuilder<RemediationExecutionStatus.Builder,RemediationExecutionStatus>
-
Method Summary
Modifier and TypeMethodDescriptioninvocationTime(Instant invocationTime) Start time when the remediation was executed.lastUpdatedTime(Instant lastUpdatedTime) The time when the remediation execution was last updated.resourceKey(Consumer<ResourceKey.Builder> resourceKey) Sets the value of the ResourceKey property for this object.resourceKey(ResourceKey resourceKey) Sets the value of the ResourceKey property for this object.ENUM of the values.state(RemediationExecutionState state) ENUM of the values.stepDetails(Collection<RemediationExecutionStep> stepDetails) Details of every step.stepDetails(Consumer<RemediationExecutionStep.Builder>... stepDetails) Details of every step.stepDetails(RemediationExecutionStep... stepDetails) Details of every step.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
-
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
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:
-
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:
-
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:
-
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
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 tostepDetails(List<RemediationExecutionStep>).- 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:
-
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
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.
-