@Generated(value="software.amazon.awssdk:codegen") public final class InsightRuleContributor extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InsightRuleContributor.Builder,InsightRuleContributor>
One of the unique contributors found by a Contributor Insights rule. If the rule contains multiple keys, then a unique contributor is a unique combination of values from all the keys in the rule.
If the rule contains a single key, then each unique contributor is each unique value for this key.
For more information, see GetInsightRuleReport.
Modifier and Type | Class and Description |
---|---|
static interface |
InsightRuleContributor.Builder |
Modifier and Type | Method and Description |
---|---|
Double |
approximateAggregateValue()
An approximation of the aggregate value that comes from this contributor.
|
static InsightRuleContributor.Builder |
builder() |
List<InsightRuleContributorDatapoint> |
datapoints()
An array of the data points where this contributor is present.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<String> |
keys()
One of the log entry field keywords that is used to define contributors for this rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InsightRuleContributor.Builder> |
serializableBuilderClass() |
InsightRuleContributor.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public List<String> keys()
One of the log entry field keywords that is used to define contributors for this rule.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Double approximateAggregateValue()
An approximation of the aggregate value that comes from this contributor.
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public InsightRuleContributor.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<InsightRuleContributor.Builder,InsightRuleContributor>
public static InsightRuleContributor.Builder builder()
public static Class<? extends InsightRuleContributor.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.