Interface DescribeInsightRulesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchResponse.Builder,CopyableBuilder<DescribeInsightRulesResponse.Builder,DescribeInsightRulesResponse>,SdkBuilder<DescribeInsightRulesResponse.Builder,DescribeInsightRulesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeInsightRulesResponse
public static interface DescribeInsightRulesResponse.Builder extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<DescribeInsightRulesResponse.Builder,DescribeInsightRulesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeInsightRulesResponse.BuilderinsightRules(Collection<InsightRule> insightRules)The rules returned by the operation.DescribeInsightRulesResponse.BuilderinsightRules(Consumer<InsightRule.Builder>... insightRules)The rules returned by the operation.DescribeInsightRulesResponse.BuilderinsightRules(InsightRule... insightRules)The rules returned by the operation.DescribeInsightRulesResponse.BuildernextToken(String nextToken)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, 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
-
nextToken
DescribeInsightRulesResponse.Builder nextToken(String 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
DescribeInsightRulesResponse.Builder insightRules(Collection<InsightRule> 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
DescribeInsightRulesResponse.Builder insightRules(InsightRule... 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
DescribeInsightRulesResponse.Builder insightRules(Consumer<InsightRule.Builder>... 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 to#insightRules(List.) - 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:
#insightRules(java.util.Collection)
-
-