Interface StartRemediationExecutionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConfigResponse.Builder,CopyableBuilder<StartRemediationExecutionResponse.Builder,,StartRemediationExecutionResponse> SdkBuilder<StartRemediationExecutionResponse.Builder,,StartRemediationExecutionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StartRemediationExecutionResponse
@Mutable
@NotThreadSafe
public static interface StartRemediationExecutionResponse.Builder
extends ConfigResponse.Builder, SdkPojo, CopyableBuilder<StartRemediationExecutionResponse.Builder,StartRemediationExecutionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailedItems(Collection<ResourceKey> failedItems) For resources that have failed to start execution, the API returns a resource key object.failedItems(Consumer<ResourceKey.Builder>... failedItems) For resources that have failed to start execution, the API returns a resource key object.failedItems(ResourceKey... failedItems) For resources that have failed to start execution, the API returns a resource key object.failureMessage(String failureMessage) Returns a failure message.Methods inherited from interface software.amazon.awssdk.services.config.model.ConfigResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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
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 tofailedItems(List<ResourceKey>).- 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:
-