public static interface StartRemediationExecutionResponse.Builder extends ConfigResponse.Builder, SdkPojo, CopyableBuilder<StartRemediationExecutionResponse.Builder,StartRemediationExecutionResponse>
| Modifier and Type | Method and Description |
|---|---|
StartRemediationExecutionResponse.Builder |
failedItems(Collection<ResourceKey> failedItems)
For resources that have failed to start execution, the API returns a resource key object.
|
StartRemediationExecutionResponse.Builder |
failedItems(Consumer<ResourceKey.Builder>... failedItems)
For resources that have failed to start execution, the API returns a resource key object.
|
StartRemediationExecutionResponse.Builder |
failedItems(ResourceKey... failedItems)
For resources that have failed to start execution, the API returns a resource key object.
|
StartRemediationExecutionResponse.Builder |
failureMessage(String failureMessage)
Returns a failure message.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartRemediationExecutionResponse.Builder failureMessage(String failureMessage)
Returns a failure message. For example, the resource is already compliant.
failureMessage - Returns a failure message. For example, the resource is already compliant.StartRemediationExecutionResponse.Builder failedItems(Collection<ResourceKey> failedItems)
For resources that have failed to start execution, the API returns a resource key object.
failedItems - For resources that have failed to start execution, the API returns a resource key object.StartRemediationExecutionResponse.Builder failedItems(ResourceKey... failedItems)
For resources that have failed to start execution, the API returns a resource key object.
failedItems - For resources that have failed to start execution, the API returns a resource key object.StartRemediationExecutionResponse.Builder failedItems(Consumer<ResourceKey.Builder>... failedItems)
For resources that have failed to start execution, the API returns a resource key object.
This is a convenience method that creates an instance of theResourceKey.Builder avoiding the need to create one
manually via ResourceKey.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #failedItems(List.
failedItems - a consumer that will call methods on
ResourceKey.Builder#failedItems(java.util.Collection) Copyright © 2023. All rights reserved.