@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InsightRuleContributor extends Object implements Serializable, Cloneable
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.
Constructor and Description |
---|
InsightRuleContributor() |
Modifier and Type | Method and Description |
---|---|
InsightRuleContributor |
clone() |
boolean |
equals(Object obj) |
Double |
getApproximateAggregateValue()
An approximation of the aggregate value that comes from this contributor.
|
List<InsightRuleContributorDatapoint> |
getDatapoints()
An array of the data points where this contributor is present.
|
List<String> |
getKeys()
One of the log entry field keywords that is used to define contributors for this rule.
|
int |
hashCode() |
void |
setApproximateAggregateValue(Double approximateAggregateValue)
An approximation of the aggregate value that comes from this contributor.
|
void |
setDatapoints(Collection<InsightRuleContributorDatapoint> datapoints)
An array of the data points where this contributor is present.
|
void |
setKeys(Collection<String> keys)
One of the log entry field keywords that is used to define contributors for this rule.
|
String |
toString()
Returns a string representation of this object.
|
InsightRuleContributor |
withApproximateAggregateValue(Double approximateAggregateValue)
An approximation of the aggregate value that comes from this contributor.
|
InsightRuleContributor |
withDatapoints(Collection<InsightRuleContributorDatapoint> datapoints)
An array of the data points where this contributor is present.
|
InsightRuleContributor |
withDatapoints(InsightRuleContributorDatapoint... datapoints)
An array of the data points where this contributor is present.
|
InsightRuleContributor |
withKeys(Collection<String> keys)
One of the log entry field keywords that is used to define contributors for this rule.
|
InsightRuleContributor |
withKeys(String... keys)
One of the log entry field keywords that is used to define contributors for this rule.
|
public List<String> getKeys()
One of the log entry field keywords that is used to define contributors for this rule.
public void setKeys(Collection<String> keys)
One of the log entry field keywords that is used to define contributors for this rule.
keys
- One of the log entry field keywords that is used to define contributors for this rule.public InsightRuleContributor withKeys(String... keys)
One of the log entry field keywords that is used to define contributors for this rule.
NOTE: This method appends the values to the existing list (if any). Use
setKeys(java.util.Collection)
or withKeys(java.util.Collection)
if you want to override the
existing values.
keys
- One of the log entry field keywords that is used to define contributors for this rule.public InsightRuleContributor withKeys(Collection<String> keys)
One of the log entry field keywords that is used to define contributors for this rule.
keys
- One of the log entry field keywords that is used to define contributors for this rule.public void setApproximateAggregateValue(Double approximateAggregateValue)
An approximation of the aggregate value that comes from this contributor.
approximateAggregateValue
- An approximation of the aggregate value that comes from this contributor.public Double getApproximateAggregateValue()
An approximation of the aggregate value that comes from this contributor.
public InsightRuleContributor withApproximateAggregateValue(Double approximateAggregateValue)
An approximation of the aggregate value that comes from this contributor.
approximateAggregateValue
- An approximation of the aggregate value that comes from this contributor.public List<InsightRuleContributorDatapoint> getDatapoints()
An array of the data points where this contributor is present. Only the data points when this contributor appeared are included in the array.
public void setDatapoints(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.
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.public InsightRuleContributor withDatapoints(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.
NOTE: This method appends the values to the existing list (if any). Use
setDatapoints(java.util.Collection)
or withDatapoints(java.util.Collection)
if you want to
override the existing values.
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.public InsightRuleContributor withDatapoints(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.
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.public String toString()
toString
in class Object
Object.toString()
public InsightRuleContributor clone()
Copyright © 2021. All rights reserved.