@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetFrameMetricDataRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The structure representing the BatchGetFrameMetricDataRequest.
NOOP
Constructor and Description |
---|
BatchGetFrameMetricDataRequest() |
Modifier and Type | Method and Description |
---|---|
BatchGetFrameMetricDataRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getEndTime()
The end time of the time period for the returned time series values.
|
List<FrameMetric> |
getFrameMetrics()
The details of the metrics that are used to request a time series of values.
|
String |
getPeriod()
The duration of the frame metrics used to return the time series values.
|
String |
getProfilingGroupName()
The name of the profiling group associated with the the frame metrics used to return the time series values.
|
Date |
getStartTime()
The start time of the time period for the frame metrics used to return the time series values.
|
String |
getTargetResolution()
The requested resolution of time steps for the returned time series of values.
|
int |
hashCode() |
void |
setEndTime(Date endTime)
The end time of the time period for the returned time series values.
|
void |
setFrameMetrics(Collection<FrameMetric> frameMetrics)
The details of the metrics that are used to request a time series of values.
|
void |
setPeriod(String period)
The duration of the frame metrics used to return the time series values.
|
void |
setProfilingGroupName(String profilingGroupName)
The name of the profiling group associated with the the frame metrics used to return the time series values.
|
void |
setStartTime(Date startTime)
The start time of the time period for the frame metrics used to return the time series values.
|
void |
setTargetResolution(String targetResolution)
The requested resolution of time steps for the returned time series of values.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetFrameMetricDataRequest |
withEndTime(Date endTime)
The end time of the time period for the returned time series values.
|
BatchGetFrameMetricDataRequest |
withFrameMetrics(Collection<FrameMetric> frameMetrics)
The details of the metrics that are used to request a time series of values.
|
BatchGetFrameMetricDataRequest |
withFrameMetrics(FrameMetric... frameMetrics)
The details of the metrics that are used to request a time series of values.
|
BatchGetFrameMetricDataRequest |
withPeriod(String period)
The duration of the frame metrics used to return the time series values.
|
BatchGetFrameMetricDataRequest |
withProfilingGroupName(String profilingGroupName)
The name of the profiling group associated with the the frame metrics used to return the time series values.
|
BatchGetFrameMetricDataRequest |
withStartTime(Date startTime)
The start time of the time period for the frame metrics used to return the time series values.
|
BatchGetFrameMetricDataRequest |
withTargetResolution(AggregationPeriod targetResolution)
The requested resolution of time steps for the returned time series of values.
|
BatchGetFrameMetricDataRequest |
withTargetResolution(String targetResolution)
The requested resolution of time steps for the returned time series of values.
|
addHandlerContext, 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 setEndTime(Date endTime)
The end time of the time period for the returned time series values. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
endTime
- The end time of the time period for the returned time series values. This is specified using the ISO 8601
format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.public Date getEndTime()
The end time of the time period for the returned time series values. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
public BatchGetFrameMetricDataRequest withEndTime(Date endTime)
The end time of the time period for the returned time series values. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
endTime
- The end time of the time period for the returned time series values. This is specified using the ISO 8601
format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.public List<FrameMetric> getFrameMetrics()
The details of the metrics that are used to request a time series of values. The metric includes the name of the frame, the aggregation type to calculate the metric value for the frame, and the thread states to use to get the count for the metric value of the frame.
public void setFrameMetrics(Collection<FrameMetric> frameMetrics)
The details of the metrics that are used to request a time series of values. The metric includes the name of the frame, the aggregation type to calculate the metric value for the frame, and the thread states to use to get the count for the metric value of the frame.
frameMetrics
- The details of the metrics that are used to request a time series of values. The metric includes the name
of the frame, the aggregation type to calculate the metric value for the frame, and the thread states to
use to get the count for the metric value of the frame.public BatchGetFrameMetricDataRequest withFrameMetrics(FrameMetric... frameMetrics)
The details of the metrics that are used to request a time series of values. The metric includes the name of the frame, the aggregation type to calculate the metric value for the frame, and the thread states to use to get the count for the metric value of the frame.
NOTE: This method appends the values to the existing list (if any). Use
setFrameMetrics(java.util.Collection)
or withFrameMetrics(java.util.Collection)
if you want to
override the existing values.
frameMetrics
- The details of the metrics that are used to request a time series of values. The metric includes the name
of the frame, the aggregation type to calculate the metric value for the frame, and the thread states to
use to get the count for the metric value of the frame.public BatchGetFrameMetricDataRequest withFrameMetrics(Collection<FrameMetric> frameMetrics)
The details of the metrics that are used to request a time series of values. The metric includes the name of the frame, the aggregation type to calculate the metric value for the frame, and the thread states to use to get the count for the metric value of the frame.
frameMetrics
- The details of the metrics that are used to request a time series of values. The metric includes the name
of the frame, the aggregation type to calculate the metric value for the frame, and the thread states to
use to get the count for the metric value of the frame.public void setPeriod(String period)
The duration of the frame metrics used to return the time series values. Specify using the ISO 8601 format. The
maximum period duration is one day (PT24H
or P1D
).
period
- The duration of the frame metrics used to return the time series values. Specify using the ISO 8601
format. The maximum period duration is one day (PT24H
or P1D
).public String getPeriod()
The duration of the frame metrics used to return the time series values. Specify using the ISO 8601 format. The
maximum period duration is one day (PT24H
or P1D
).
PT24H
or P1D
).public BatchGetFrameMetricDataRequest withPeriod(String period)
The duration of the frame metrics used to return the time series values. Specify using the ISO 8601 format. The
maximum period duration is one day (PT24H
or P1D
).
period
- The duration of the frame metrics used to return the time series values. Specify using the ISO 8601
format. The maximum period duration is one day (PT24H
or P1D
).public void setProfilingGroupName(String profilingGroupName)
The name of the profiling group associated with the the frame metrics used to return the time series values.
profilingGroupName
- The name of the profiling group associated with the the frame metrics used to return the time series
values.public String getProfilingGroupName()
The name of the profiling group associated with the the frame metrics used to return the time series values.
public BatchGetFrameMetricDataRequest withProfilingGroupName(String profilingGroupName)
The name of the profiling group associated with the the frame metrics used to return the time series values.
profilingGroupName
- The name of the profiling group associated with the the frame metrics used to return the time series
values.public void setStartTime(Date startTime)
The start time of the time period for the frame metrics used to return the time series values. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
startTime
- The start time of the time period for the frame metrics used to return the time series values. This is
specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past
June 1, 2020 1:15:02 PM UTC.public Date getStartTime()
The start time of the time period for the frame metrics used to return the time series values. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
public BatchGetFrameMetricDataRequest withStartTime(Date startTime)
The start time of the time period for the frame metrics used to return the time series values. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
startTime
- The start time of the time period for the frame metrics used to return the time series values. This is
specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past
June 1, 2020 1:15:02 PM UTC.public void setTargetResolution(String targetResolution)
The requested resolution of time steps for the returned time series of values. If the requested target resolution is not available due to data not being retained we provide a best effort result by falling back to the most granular available resolution after the target resolution. There are 3 valid values.
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
targetResolution
- The requested resolution of time steps for the returned time series of values. If the requested target
resolution is not available due to data not being retained we provide a best effort result by falling back
to the most granular available resolution after the target resolution. There are 3 valid values.
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
AggregationPeriod
public String getTargetResolution()
The requested resolution of time steps for the returned time series of values. If the requested target resolution is not available due to data not being retained we provide a best effort result by falling back to the most granular available resolution after the target resolution. There are 3 valid values.
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
AggregationPeriod
public BatchGetFrameMetricDataRequest withTargetResolution(String targetResolution)
The requested resolution of time steps for the returned time series of values. If the requested target resolution is not available due to data not being retained we provide a best effort result by falling back to the most granular available resolution after the target resolution. There are 3 valid values.
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
targetResolution
- The requested resolution of time steps for the returned time series of values. If the requested target
resolution is not available due to data not being retained we provide a best effort result by falling back
to the most granular available resolution after the target resolution. There are 3 valid values.
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
AggregationPeriod
public BatchGetFrameMetricDataRequest withTargetResolution(AggregationPeriod targetResolution)
The requested resolution of time steps for the returned time series of values. If the requested target resolution is not available due to data not being retained we provide a best effort result by falling back to the most granular available resolution after the target resolution. There are 3 valid values.
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
targetResolution
- The requested resolution of time steps for the returned time series of values. If the requested target
resolution is not available due to data not being retained we provide a best effort result by falling back
to the most granular available resolution after the target resolution. There are 3 valid values.
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
AggregationPeriod
public String toString()
toString
in class Object
Object.toString()
public BatchGetFrameMetricDataRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()