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, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
StartRemediationExecutionResponse.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 that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #failedItems(List)
.failedItems
- a consumer that will call methods on List.Builder
#failedItems(List)