Interface DescribeInsightRulesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchResponse.Builder,CopyableBuilder<DescribeInsightRulesResponse.Builder,,DescribeInsightRulesResponse> SdkBuilder<DescribeInsightRulesResponse.Builder,,DescribeInsightRulesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeInsightRulesResponse
@Mutable
@NotThreadSafe
public static interface DescribeInsightRulesResponse.Builder
extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<DescribeInsightRulesResponse.Builder,DescribeInsightRulesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninsightRules(Collection<InsightRule> insightRules) The rules returned by the operation.insightRules(Consumer<InsightRule.Builder>... insightRules) The rules returned by the operation.insightRules(InsightRule... insightRules) The rules returned by the operation.If this parameter is present, it is a token that marks the start of the next batch of returned results.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
-
nextToken
If this parameter is present, it is a token that marks the start of the next batch of returned results.
- Parameters:
nextToken- If this parameter is present, it is a token that marks the start of the next batch of returned results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightRules
The rules returned by the operation.
- Parameters:
insightRules- The rules returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightRules
The rules returned by the operation.
- Parameters:
insightRules- The rules returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightRules
The rules returned by the operation.
This is a convenience method that creates an instance of theInsightRule.Builderavoiding the need to create one manually viaInsightRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinsightRules(List<InsightRule>).- Parameters:
insightRules- a consumer that will call methods onInsightRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-