Interface DeleteInsightRulesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchResponse.Builder
,CopyableBuilder<DeleteInsightRulesResponse.Builder,
,DeleteInsightRulesResponse> SdkBuilder<DeleteInsightRulesResponse.Builder,
,DeleteInsightRulesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DeleteInsightRulesResponse
public static interface DeleteInsightRulesResponse.Builder
extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<DeleteInsightRulesResponse.Builder,DeleteInsightRulesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailures
(Collection<PartialFailure> failures) An array listing the rules that could not be deleted.failures
(Consumer<PartialFailure.Builder>... failures) An array listing the rules that could not be deleted.failures
(PartialFailure... failures) An array listing the rules that could not be deleted.Methods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchResponse.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 Details
-
failures
An array listing the rules that could not be deleted. You cannot delete built-in rules.
- Parameters:
failures
- An array listing the rules that could not be deleted. You cannot delete built-in rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
An array listing the rules that could not be deleted. You cannot delete built-in rules.
- Parameters:
failures
- An array listing the rules that could not be deleted. You cannot delete built-in rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
An array listing the rules that could not be deleted. You cannot delete built-in rules.
This is a convenience method that creates an instance of thePartialFailure.Builder
avoiding the need to create one manually viaPartialFailure.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailures(List<PartialFailure>)
.- Parameters:
failures
- a consumer that will call methods onPartialFailure.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-