Interface InsightRuleContributor.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<InsightRuleContributor.Builder,InsightRuleContributor>
,SdkBuilder<InsightRuleContributor.Builder,InsightRuleContributor>
,SdkPojo
- Enclosing class:
- InsightRuleContributor
public static interface InsightRuleContributor.Builder extends SdkPojo, CopyableBuilder<InsightRuleContributor.Builder,InsightRuleContributor>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InsightRuleContributor.Builder
approximateAggregateValue(Double approximateAggregateValue)
An approximation of the aggregate value that comes from this contributor.InsightRuleContributor.Builder
datapoints(Collection<InsightRuleContributorDatapoint> datapoints)
An array of the data points where this contributor is present.InsightRuleContributor.Builder
datapoints(Consumer<InsightRuleContributorDatapoint.Builder>... datapoints)
An array of the data points where this contributor is present.InsightRuleContributor.Builder
datapoints(InsightRuleContributorDatapoint... datapoints)
An array of the data points where this contributor is present.InsightRuleContributor.Builder
keys(String... keys)
One of the log entry field keywords that is used to define contributors for this rule.InsightRuleContributor.Builder
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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
keys
InsightRuleContributor.Builder keys(Collection<String> 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
InsightRuleContributor.Builder keys(String... 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
InsightRuleContributor.Builder approximateAggregateValue(Double 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
InsightRuleContributor.Builder datapoints(Collection<InsightRuleContributorDatapoint> 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(InsightRuleContributorDatapoint... 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.Builder
avoiding the need to create one manually viaInsightRuleContributorDatapoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#datapoints(List
.) - 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:
#datapoints(java.util.Collection
)
-
-