Interface PutManagedInsightRulesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchResponse.Builder
,CopyableBuilder<PutManagedInsightRulesResponse.Builder,PutManagedInsightRulesResponse>
,SdkBuilder<PutManagedInsightRulesResponse.Builder,PutManagedInsightRulesResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- PutManagedInsightRulesResponse
public static interface PutManagedInsightRulesResponse.Builder extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<PutManagedInsightRulesResponse.Builder,PutManagedInsightRulesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutManagedInsightRulesResponse.Builder
failures(Collection<PartialFailure> failures)
An array that lists the rules that could not be enabled.PutManagedInsightRulesResponse.Builder
failures(Consumer<PartialFailure.Builder>... failures)
An array that lists the rules that could not be enabled.PutManagedInsightRulesResponse.Builder
failures(PartialFailure... failures)
An array that lists the rules that could not be enabled.-
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 Detail
-
failures
PutManagedInsightRulesResponse.Builder failures(Collection<PartialFailure> failures)
An array that lists the rules that could not be enabled.
- Parameters:
failures
- An array that lists the rules that could not be enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
PutManagedInsightRulesResponse.Builder failures(PartialFailure... failures)
An array that lists the rules that could not be enabled.
- Parameters:
failures
- An array that lists the rules that could not be enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
PutManagedInsightRulesResponse.Builder failures(Consumer<PartialFailure.Builder>... failures)
An array that lists the rules that could not be enabled.
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 to#failures(List
.) - 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:
#failures(java.util.Collection
)
-
-