Interface StartRemediationExecutionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConfigResponse.Builder,CopyableBuilder<StartRemediationExecutionResponse.Builder,StartRemediationExecutionResponse>,SdkBuilder<StartRemediationExecutionResponse.Builder,StartRemediationExecutionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- StartRemediationExecutionResponse
public static interface StartRemediationExecutionResponse.Builder extends ConfigResponse.Builder, SdkPojo, CopyableBuilder<StartRemediationExecutionResponse.Builder,StartRemediationExecutionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartRemediationExecutionResponse.BuilderfailedItems(Collection<ResourceKey> failedItems)For resources that have failed to start execution, the API returns a resource key object.StartRemediationExecutionResponse.BuilderfailedItems(Consumer<ResourceKey.Builder>... failedItems)For resources that have failed to start execution, the API returns a resource key object.StartRemediationExecutionResponse.BuilderfailedItems(ResourceKey... failedItems)For resources that have failed to start execution, the API returns a resource key object.StartRemediationExecutionResponse.BuilderfailureMessage(String failureMessage)Returns a failure message.-
Methods inherited from interface software.amazon.awssdk.services.config.model.ConfigResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
failureMessage
StartRemediationExecutionResponse.Builder failureMessage(String failureMessage)
Returns a failure message. For example, the resource is already compliant.
- Parameters:
failureMessage- Returns a failure message. For example, the resource is already compliant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedItems
StartRemediationExecutionResponse.Builder failedItems(Collection<ResourceKey> failedItems)
For resources that have failed to start execution, the API returns a resource key object.
- Parameters:
failedItems- For resources that have failed to start execution, the API returns a resource key object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedItems
StartRemediationExecutionResponse.Builder failedItems(ResourceKey... failedItems)
For resources that have failed to start execution, the API returns a resource key object.
- Parameters:
failedItems- For resources that have failed to start execution, the API returns a resource key object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedItems
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.Builderavoiding the need to create one manually viaResourceKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#failedItems(List.) - Parameters:
failedItems- 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:
#failedItems(java.util.Collection)
-
-