Interface InsightRuleContributor.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InsightRuleContributor.Builder,,InsightRuleContributor> SdkBuilder<InsightRuleContributor.Builder,,InsightRuleContributor> SdkPojo
- Enclosing class:
InsightRuleContributor
-
Method Summary
Modifier and TypeMethodDescriptionapproximateAggregateValue(Double approximateAggregateValue) An approximation of the aggregate value that comes from this contributor.datapoints(Collection<InsightRuleContributorDatapoint> datapoints) An array of the data points where this contributor is present.datapoints(Consumer<InsightRuleContributorDatapoint.Builder>... datapoints) An array of the data points where this contributor is present.datapoints(InsightRuleContributorDatapoint... datapoints) An array of the data points where this contributor is present.One of the log entry field keywords that is used to define contributors for this rule.keys(Collection<String> keys) One of the log entry field keywords that is used to define contributors for this rule.Methods 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, sdkFields
-
Method Details
-
keys
One of the log entry field keywords that is used to define contributors for this rule.
- Parameters:
keys- One of the log entry field keywords that is used to define contributors for this rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keys
One of the log entry field keywords that is used to define contributors for this rule.
- Parameters:
keys- One of the log entry field keywords that is used to define contributors for this rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approximateAggregateValue
An approximation of the aggregate value that comes from this contributor.
- Parameters:
approximateAggregateValue- An approximation of the aggregate value that comes from this contributor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datapoints
An array of the data points where this contributor is present. Only the data points when this contributor appeared are included in the array.
- Parameters:
datapoints- An array of the data points where this contributor is present. Only the data points when this contributor appeared are included in the array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datapoints
An array of the data points where this contributor is present. Only the data points when this contributor appeared are included in the array.
- Parameters:
datapoints- An array of the data points where this contributor is present. Only the data points when this contributor appeared are included in the array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datapoints
InsightRuleContributor.Builder datapoints(Consumer<InsightRuleContributorDatapoint.Builder>... datapoints) An array of the data points where this contributor is present. Only the data points when this contributor appeared are included in the array.
This is a convenience method that creates an instance of theInsightRuleContributorDatapoint.Builderavoiding the need to create one manually viaInsightRuleContributorDatapoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatapoints(List<InsightRuleContributorDatapoint>).- Parameters:
datapoints- a consumer that will call methods onInsightRuleContributorDatapoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-