Interface ListManagedInsightRulesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchResponse.Builder
,CopyableBuilder<ListManagedInsightRulesResponse.Builder,ListManagedInsightRulesResponse>
,SdkBuilder<ListManagedInsightRulesResponse.Builder,ListManagedInsightRulesResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListManagedInsightRulesResponse
public static interface ListManagedInsightRulesResponse.Builder extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<ListManagedInsightRulesResponse.Builder,ListManagedInsightRulesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListManagedInsightRulesResponse.Builder
managedRules(Collection<ManagedRuleDescription> managedRules)
The managed rules that are available for the specified Amazon Web Services resource.ListManagedInsightRulesResponse.Builder
managedRules(Consumer<ManagedRuleDescription.Builder>... managedRules)
The managed rules that are available for the specified Amazon Web Services resource.ListManagedInsightRulesResponse.Builder
managedRules(ManagedRuleDescription... managedRules)
The managed rules that are available for the specified Amazon Web Services resource.ListManagedInsightRulesResponse.Builder
nextToken(String nextToken)
Include this value to get the next set of rules if the value was returned by the previous operation.-
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
-
managedRules
ListManagedInsightRulesResponse.Builder managedRules(Collection<ManagedRuleDescription> managedRules)
The managed rules that are available for the specified Amazon Web Services resource.
- Parameters:
managedRules
- The managed rules that are available for the specified Amazon Web Services resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedRules
ListManagedInsightRulesResponse.Builder managedRules(ManagedRuleDescription... managedRules)
The managed rules that are available for the specified Amazon Web Services resource.
- Parameters:
managedRules
- The managed rules that are available for the specified Amazon Web Services resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedRules
ListManagedInsightRulesResponse.Builder managedRules(Consumer<ManagedRuleDescription.Builder>... managedRules)
The managed rules that are available for the specified Amazon Web Services resource.
This is a convenience method that creates an instance of theManagedRuleDescription.Builder
avoiding the need to create one manually viaManagedRuleDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#managedRules(List
.) - Parameters:
managedRules
- a consumer that will call methods onManagedRuleDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#managedRules(java.util.Collection
)
-
nextToken
ListManagedInsightRulesResponse.Builder nextToken(String nextToken)
Include this value to get the next set of rules if the value was returned by the previous operation.
- Parameters:
nextToken
- Include this value to get the next set of rules if the value was returned by the previous operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-