Interface EnableInsightRulesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchResponse.Builder,CopyableBuilder<EnableInsightRulesResponse.Builder,,EnableInsightRulesResponse> SdkBuilder<EnableInsightRulesResponse.Builder,,EnableInsightRulesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
EnableInsightRulesResponse
@Mutable
@NotThreadSafe
public static interface EnableInsightRulesResponse.Builder
extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<EnableInsightRulesResponse.Builder,EnableInsightRulesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailures(Collection<PartialFailure> failures) An array listing the rules that could not be enabled.failures(Consumer<PartialFailure.Builder>... failures) An array listing the rules that could not be enabled.failures(PartialFailure... failures) An array listing the rules that could not be enabled.Methods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchResponse.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
-
failures
An array listing the rules that could not be enabled. You cannot disable or enable built-in rules.
- Parameters:
failures- An array listing the rules that could not be enabled. You cannot disable or enable 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 enabled. You cannot disable or enable built-in rules.
- Parameters:
failures- An array listing the rules that could not be enabled. You cannot disable or enable 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 enabled. You cannot disable or enable built-in rules.
This is a convenience method that creates an instance of thePartialFailure.Builderavoiding the need to create one manually viaPartialFailure.builder().When the
Consumercompletes,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:
-