Interface FailedRemediationExceptionBatch.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<FailedRemediationExceptionBatch.Builder,,- FailedRemediationExceptionBatch> - SdkBuilder<FailedRemediationExceptionBatch.Builder,,- FailedRemediationExceptionBatch> - SdkPojo
- Enclosing class:
- FailedRemediationExceptionBatch
@Mutable
@NotThreadSafe
public static interface FailedRemediationExceptionBatch.Builder
extends SdkPojo, CopyableBuilder<FailedRemediationExceptionBatch.Builder,FailedRemediationExceptionBatch> 
- 
Method SummaryModifier and TypeMethodDescriptionfailedItems(Collection<RemediationException> failedItems) Returns remediation exception resource key object of the failed items.failedItems(Consumer<RemediationException.Builder>... failedItems) Returns remediation exception resource key object of the failed items.failedItems(RemediationException... failedItems) Returns remediation exception resource key object of the failed items.failureMessage(String failureMessage) Returns a failure message.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
failureMessageReturns a failure message. For example, the auto-remediation has failed. - Parameters:
- failureMessage- Returns a failure message. For example, the auto-remediation has failed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
failedItemsReturns remediation exception resource key object of the failed items. - Parameters:
- failedItems- Returns remediation exception resource key object of the failed items.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
failedItemsReturns remediation exception resource key object of the failed items. - Parameters:
- failedItems- Returns remediation exception resource key object of the failed items.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
failedItemsFailedRemediationExceptionBatch.Builder failedItems(Consumer<RemediationException.Builder>... failedItems) Returns remediation exception resource key object of the failed items. This is a convenience method that creates an instance of theRemediationException.Builderavoiding the need to create one manually viaRemediationException.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailedItems(List<RemediationException>).- Parameters:
- failedItems- a consumer that will call methods on- RemediationException.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-