@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetInsightRuleReportRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetInsightRuleReportRequest() |
Modifier and Type | Method and Description |
---|---|
GetInsightRuleReportRequest |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The end time of the data to use in the report.
|
Integer |
getMaxContributorCount()
The maximum number of contributors to include in the report.
|
List<String> |
getMetrics()
Specifies which metrics to use for aggregation of contributor values for the report.
|
String |
getOrderBy()
Determines what statistic to use to rank the contributors.
|
Integer |
getPeriod()
The period, in seconds, to use for the statistics in the
InsightRuleMetricDatapoint results. |
String |
getRuleName()
The name of the rule that you want to see data from.
|
Date |
getStartTime()
The start time of the data to use in the report.
|
int |
hashCode() |
void |
setEndTime(Date endTime)
The end time of the data to use in the report.
|
void |
setMaxContributorCount(Integer maxContributorCount)
The maximum number of contributors to include in the report.
|
void |
setMetrics(Collection<String> metrics)
Specifies which metrics to use for aggregation of contributor values for the report.
|
void |
setOrderBy(String orderBy)
Determines what statistic to use to rank the contributors.
|
void |
setPeriod(Integer period)
The period, in seconds, to use for the statistics in the
InsightRuleMetricDatapoint results. |
void |
setRuleName(String ruleName)
The name of the rule that you want to see data from.
|
void |
setStartTime(Date startTime)
The start time of the data to use in the report.
|
String |
toString()
Returns a string representation of this object.
|
GetInsightRuleReportRequest |
withEndTime(Date endTime)
The end time of the data to use in the report.
|
GetInsightRuleReportRequest |
withMaxContributorCount(Integer maxContributorCount)
The maximum number of contributors to include in the report.
|
GetInsightRuleReportRequest |
withMetrics(Collection<String> metrics)
Specifies which metrics to use for aggregation of contributor values for the report.
|
GetInsightRuleReportRequest |
withMetrics(String... metrics)
Specifies which metrics to use for aggregation of contributor values for the report.
|
GetInsightRuleReportRequest |
withOrderBy(String orderBy)
Determines what statistic to use to rank the contributors.
|
GetInsightRuleReportRequest |
withPeriod(Integer period)
The period, in seconds, to use for the statistics in the
InsightRuleMetricDatapoint results. |
GetInsightRuleReportRequest |
withRuleName(String ruleName)
The name of the rule that you want to see data from.
|
GetInsightRuleReportRequest |
withStartTime(Date startTime)
The start time of the data to use in the report.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRuleName(String ruleName)
The name of the rule that you want to see data from.
ruleName
- The name of the rule that you want to see data from.public String getRuleName()
The name of the rule that you want to see data from.
public GetInsightRuleReportRequest withRuleName(String ruleName)
The name of the rule that you want to see data from.
ruleName
- The name of the rule that you want to see data from.public void setStartTime(Date startTime)
The start time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as
yyyy-MM-dd'T'HH:mm:ss
. For example, 2019-07-01T23:59:59
.
startTime
- The start time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as
yyyy-MM-dd'T'HH:mm:ss
. For example, 2019-07-01T23:59:59
.public Date getStartTime()
The start time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as
yyyy-MM-dd'T'HH:mm:ss
. For example, 2019-07-01T23:59:59
.
yyyy-MM-dd'T'HH:mm:ss
. For example, 2019-07-01T23:59:59
.public GetInsightRuleReportRequest withStartTime(Date startTime)
The start time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as
yyyy-MM-dd'T'HH:mm:ss
. For example, 2019-07-01T23:59:59
.
startTime
- The start time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as
yyyy-MM-dd'T'HH:mm:ss
. For example, 2019-07-01T23:59:59
.public void setEndTime(Date endTime)
The end time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as
yyyy-MM-dd'T'HH:mm:ss
. For example, 2019-07-01T23:59:59
.
endTime
- The end time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as
yyyy-MM-dd'T'HH:mm:ss
. For example, 2019-07-01T23:59:59
.public Date getEndTime()
The end time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as
yyyy-MM-dd'T'HH:mm:ss
. For example, 2019-07-01T23:59:59
.
yyyy-MM-dd'T'HH:mm:ss
. For example, 2019-07-01T23:59:59
.public GetInsightRuleReportRequest withEndTime(Date endTime)
The end time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as
yyyy-MM-dd'T'HH:mm:ss
. For example, 2019-07-01T23:59:59
.
endTime
- The end time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as
yyyy-MM-dd'T'HH:mm:ss
. For example, 2019-07-01T23:59:59
.public void setPeriod(Integer period)
The period, in seconds, to use for the statistics in the InsightRuleMetricDatapoint
results.
period
- The period, in seconds, to use for the statistics in the InsightRuleMetricDatapoint
results.public Integer getPeriod()
The period, in seconds, to use for the statistics in the InsightRuleMetricDatapoint
results.
InsightRuleMetricDatapoint
results.public GetInsightRuleReportRequest withPeriod(Integer period)
The period, in seconds, to use for the statistics in the InsightRuleMetricDatapoint
results.
period
- The period, in seconds, to use for the statistics in the InsightRuleMetricDatapoint
results.public void setMaxContributorCount(Integer maxContributorCount)
The maximum number of contributors to include in the report. The range is 1 to 100. If you omit this, the default of 10 is used.
maxContributorCount
- The maximum number of contributors to include in the report. The range is 1 to 100. If you omit this, the
default of 10 is used.public Integer getMaxContributorCount()
The maximum number of contributors to include in the report. The range is 1 to 100. If you omit this, the default of 10 is used.
public GetInsightRuleReportRequest withMaxContributorCount(Integer maxContributorCount)
The maximum number of contributors to include in the report. The range is 1 to 100. If you omit this, the default of 10 is used.
maxContributorCount
- The maximum number of contributors to include in the report. The range is 1 to 100. If you omit this, the
default of 10 is used.public List<String> getMetrics()
Specifies which metrics to use for aggregation of contributor values for the report. You can specify one or more of the following metrics:
UniqueContributors
-- the number of unique contributors for each data point.
MaxContributorValue
-- the value of the top contributor for each data point. The identity of the
contributor might change for each data point in the graph.
If this rule aggregates by COUNT, the top contributor for each data point is the contributor with the most
occurrences in that period. If the rule aggregates by SUM, the top contributor is the contributor with the
highest sum in the log field specified by the rule's Value
, during that period.
SampleCount
-- the number of data points matched by the rule.
Sum
-- the sum of the values from all contributors during the time period represented by that data
point.
Minimum
-- the minimum value from a single observation during the time period represented by that
data point.
Maximum
-- the maximum value from a single observation during the time period represented by that
data point.
Average
-- the average value from all contributors during the time period represented by that data
point.
UniqueContributors
-- the number of unique contributors for each data point.
MaxContributorValue
-- the value of the top contributor for each data point. The identity of
the contributor might change for each data point in the graph.
If this rule aggregates by COUNT, the top contributor for each data point is the contributor with the
most occurrences in that period. If the rule aggregates by SUM, the top contributor is the contributor
with the highest sum in the log field specified by the rule's Value
, during that period.
SampleCount
-- the number of data points matched by the rule.
Sum
-- the sum of the values from all contributors during the time period represented by
that data point.
Minimum
-- the minimum value from a single observation during the time period represented by
that data point.
Maximum
-- the maximum value from a single observation during the time period represented by
that data point.
Average
-- the average value from all contributors during the time period represented by
that data point.
public void setMetrics(Collection<String> metrics)
Specifies which metrics to use for aggregation of contributor values for the report. You can specify one or more of the following metrics:
UniqueContributors
-- the number of unique contributors for each data point.
MaxContributorValue
-- the value of the top contributor for each data point. The identity of the
contributor might change for each data point in the graph.
If this rule aggregates by COUNT, the top contributor for each data point is the contributor with the most
occurrences in that period. If the rule aggregates by SUM, the top contributor is the contributor with the
highest sum in the log field specified by the rule's Value
, during that period.
SampleCount
-- the number of data points matched by the rule.
Sum
-- the sum of the values from all contributors during the time period represented by that data
point.
Minimum
-- the minimum value from a single observation during the time period represented by that
data point.
Maximum
-- the maximum value from a single observation during the time period represented by that
data point.
Average
-- the average value from all contributors during the time period represented by that data
point.
metrics
- Specifies which metrics to use for aggregation of contributor values for the report. You can specify one
or more of the following metrics:
UniqueContributors
-- the number of unique contributors for each data point.
MaxContributorValue
-- the value of the top contributor for each data point. The identity of
the contributor might change for each data point in the graph.
If this rule aggregates by COUNT, the top contributor for each data point is the contributor with the most
occurrences in that period. If the rule aggregates by SUM, the top contributor is the contributor with the
highest sum in the log field specified by the rule's Value
, during that period.
SampleCount
-- the number of data points matched by the rule.
Sum
-- the sum of the values from all contributors during the time period represented by that
data point.
Minimum
-- the minimum value from a single observation during the time period represented by
that data point.
Maximum
-- the maximum value from a single observation during the time period represented by
that data point.
Average
-- the average value from all contributors during the time period represented by that
data point.
public GetInsightRuleReportRequest withMetrics(String... metrics)
Specifies which metrics to use for aggregation of contributor values for the report. You can specify one or more of the following metrics:
UniqueContributors
-- the number of unique contributors for each data point.
MaxContributorValue
-- the value of the top contributor for each data point. The identity of the
contributor might change for each data point in the graph.
If this rule aggregates by COUNT, the top contributor for each data point is the contributor with the most
occurrences in that period. If the rule aggregates by SUM, the top contributor is the contributor with the
highest sum in the log field specified by the rule's Value
, during that period.
SampleCount
-- the number of data points matched by the rule.
Sum
-- the sum of the values from all contributors during the time period represented by that data
point.
Minimum
-- the minimum value from a single observation during the time period represented by that
data point.
Maximum
-- the maximum value from a single observation during the time period represented by that
data point.
Average
-- the average value from all contributors during the time period represented by that data
point.
NOTE: This method appends the values to the existing list (if any). Use
setMetrics(java.util.Collection)
or withMetrics(java.util.Collection)
if you want to override
the existing values.
metrics
- Specifies which metrics to use for aggregation of contributor values for the report. You can specify one
or more of the following metrics:
UniqueContributors
-- the number of unique contributors for each data point.
MaxContributorValue
-- the value of the top contributor for each data point. The identity of
the contributor might change for each data point in the graph.
If this rule aggregates by COUNT, the top contributor for each data point is the contributor with the most
occurrences in that period. If the rule aggregates by SUM, the top contributor is the contributor with the
highest sum in the log field specified by the rule's Value
, during that period.
SampleCount
-- the number of data points matched by the rule.
Sum
-- the sum of the values from all contributors during the time period represented by that
data point.
Minimum
-- the minimum value from a single observation during the time period represented by
that data point.
Maximum
-- the maximum value from a single observation during the time period represented by
that data point.
Average
-- the average value from all contributors during the time period represented by that
data point.
public GetInsightRuleReportRequest withMetrics(Collection<String> metrics)
Specifies which metrics to use for aggregation of contributor values for the report. You can specify one or more of the following metrics:
UniqueContributors
-- the number of unique contributors for each data point.
MaxContributorValue
-- the value of the top contributor for each data point. The identity of the
contributor might change for each data point in the graph.
If this rule aggregates by COUNT, the top contributor for each data point is the contributor with the most
occurrences in that period. If the rule aggregates by SUM, the top contributor is the contributor with the
highest sum in the log field specified by the rule's Value
, during that period.
SampleCount
-- the number of data points matched by the rule.
Sum
-- the sum of the values from all contributors during the time period represented by that data
point.
Minimum
-- the minimum value from a single observation during the time period represented by that
data point.
Maximum
-- the maximum value from a single observation during the time period represented by that
data point.
Average
-- the average value from all contributors during the time period represented by that data
point.
metrics
- Specifies which metrics to use for aggregation of contributor values for the report. You can specify one
or more of the following metrics:
UniqueContributors
-- the number of unique contributors for each data point.
MaxContributorValue
-- the value of the top contributor for each data point. The identity of
the contributor might change for each data point in the graph.
If this rule aggregates by COUNT, the top contributor for each data point is the contributor with the most
occurrences in that period. If the rule aggregates by SUM, the top contributor is the contributor with the
highest sum in the log field specified by the rule's Value
, during that period.
SampleCount
-- the number of data points matched by the rule.
Sum
-- the sum of the values from all contributors during the time period represented by that
data point.
Minimum
-- the minimum value from a single observation during the time period represented by
that data point.
Maximum
-- the maximum value from a single observation during the time period represented by
that data point.
Average
-- the average value from all contributors during the time period represented by that
data point.
public void setOrderBy(String orderBy)
Determines what statistic to use to rank the contributors. Valid values are Sum
and
Maximum
.
orderBy
- Determines what statistic to use to rank the contributors. Valid values are Sum
and
Maximum
.public String getOrderBy()
Determines what statistic to use to rank the contributors. Valid values are Sum
and
Maximum
.
Sum
and
Maximum
.public GetInsightRuleReportRequest withOrderBy(String orderBy)
Determines what statistic to use to rank the contributors. Valid values are Sum
and
Maximum
.
orderBy
- Determines what statistic to use to rank the contributors. Valid values are Sum
and
Maximum
.public String toString()
toString
in class Object
Object.toString()
public GetInsightRuleReportRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2024. All rights reserved.