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 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

      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

      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

      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 the InsightRuleContributorDatapoint.Builder avoiding the need to create one manually via InsightRuleContributorDatapoint.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to datapoints(List<InsightRuleContributorDatapoint>).

      Parameters:
      datapoints - a consumer that will call methods on InsightRuleContributorDatapoint.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: