@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRelationalDatabaseMetricDataRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetRelationalDatabaseMetricDataRequest() |
Modifier and Type | Method and Description |
---|---|
GetRelationalDatabaseMetricDataRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getEndTime()
The end of the time interval from which to get metric data.
|
String |
getMetricName()
The name of the metric data to return.
|
Integer |
getPeriod()
The granularity, in seconds, of the returned data points.
|
String |
getRelationalDatabaseName()
The name of your database from which to get metric data.
|
Date |
getStartTime()
The start of the time interval from which to get metric data.
|
List<String> |
getStatistics()
The array of statistics for your metric data request.
|
String |
getUnit()
The unit for the metric data request.
|
int |
hashCode() |
void |
setEndTime(Date endTime)
The end of the time interval from which to get metric data.
|
void |
setMetricName(String metricName)
The name of the metric data to return.
|
void |
setPeriod(Integer period)
The granularity, in seconds, of the returned data points.
|
void |
setRelationalDatabaseName(String relationalDatabaseName)
The name of your database from which to get metric data.
|
void |
setStartTime(Date startTime)
The start of the time interval from which to get metric data.
|
void |
setStatistics(Collection<String> statistics)
The array of statistics for your metric data request.
|
void |
setUnit(String unit)
The unit for the metric data request.
|
String |
toString()
Returns a string representation of this object.
|
GetRelationalDatabaseMetricDataRequest |
withEndTime(Date endTime)
The end of the time interval from which to get metric data.
|
GetRelationalDatabaseMetricDataRequest |
withMetricName(RelationalDatabaseMetricName metricName)
The name of the metric data to return.
|
GetRelationalDatabaseMetricDataRequest |
withMetricName(String metricName)
The name of the metric data to return.
|
GetRelationalDatabaseMetricDataRequest |
withPeriod(Integer period)
The granularity, in seconds, of the returned data points.
|
GetRelationalDatabaseMetricDataRequest |
withRelationalDatabaseName(String relationalDatabaseName)
The name of your database from which to get metric data.
|
GetRelationalDatabaseMetricDataRequest |
withStartTime(Date startTime)
The start of the time interval from which to get metric data.
|
GetRelationalDatabaseMetricDataRequest |
withStatistics(Collection<String> statistics)
The array of statistics for your metric data request.
|
GetRelationalDatabaseMetricDataRequest |
withStatistics(MetricStatistic... statistics)
The array of statistics for your metric data request.
|
GetRelationalDatabaseMetricDataRequest |
withStatistics(String... statistics)
The array of statistics for your metric data request.
|
GetRelationalDatabaseMetricDataRequest |
withUnit(MetricUnit unit)
The unit for the metric data request.
|
GetRelationalDatabaseMetricDataRequest |
withUnit(String unit)
The unit for the metric data request.
|
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 GetRelationalDatabaseMetricDataRequest()
public void setRelationalDatabaseName(String relationalDatabaseName)
The name of your database from which to get metric data.
relationalDatabaseName
- The name of your database from which to get metric data.public String getRelationalDatabaseName()
The name of your database from which to get metric data.
public GetRelationalDatabaseMetricDataRequest withRelationalDatabaseName(String relationalDatabaseName)
The name of your database from which to get metric data.
relationalDatabaseName
- The name of your database from which to get metric data.public void setMetricName(String metricName)
The name of the metric data to return.
metricName
- The name of the metric data to return.RelationalDatabaseMetricName
public String getMetricName()
The name of the metric data to return.
RelationalDatabaseMetricName
public GetRelationalDatabaseMetricDataRequest withMetricName(String metricName)
The name of the metric data to return.
metricName
- The name of the metric data to return.RelationalDatabaseMetricName
public GetRelationalDatabaseMetricDataRequest withMetricName(RelationalDatabaseMetricName metricName)
The name of the metric data to return.
metricName
- The name of the metric data to return.RelationalDatabaseMetricName
public void setPeriod(Integer period)
The granularity, in seconds, of the returned data points.
period
- The granularity, in seconds, of the returned data points.public Integer getPeriod()
The granularity, in seconds, of the returned data points.
public GetRelationalDatabaseMetricDataRequest withPeriod(Integer period)
The granularity, in seconds, of the returned data points.
period
- The granularity, in seconds, of the returned data points.public void setStartTime(Date startTime)
The start of the time interval from which to get metric data.
Constraints:
Specified in Coordinated Universal Time (UTC).
Specified in the Unix time format.
For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the start time.
startTime
- The start of the time interval from which to get metric data.
Constraints:
Specified in Coordinated Universal Time (UTC).
Specified in the Unix time format.
For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the start time.
public Date getStartTime()
The start of the time interval from which to get metric data.
Constraints:
Specified in Coordinated Universal Time (UTC).
Specified in the Unix time format.
For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the start time.
Constraints:
Specified in Coordinated Universal Time (UTC).
Specified in the Unix time format.
For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the start time.
public GetRelationalDatabaseMetricDataRequest withStartTime(Date startTime)
The start of the time interval from which to get metric data.
Constraints:
Specified in Coordinated Universal Time (UTC).
Specified in the Unix time format.
For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the start time.
startTime
- The start of the time interval from which to get metric data.
Constraints:
Specified in Coordinated Universal Time (UTC).
Specified in the Unix time format.
For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the start time.
public void setEndTime(Date endTime)
The end of the time interval from which to get metric data.
Constraints:
Specified in Coordinated Universal Time (UTC).
Specified in the Unix time format.
For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the end time.
endTime
- The end of the time interval from which to get metric data.
Constraints:
Specified in Coordinated Universal Time (UTC).
Specified in the Unix time format.
For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the end time.
public Date getEndTime()
The end of the time interval from which to get metric data.
Constraints:
Specified in Coordinated Universal Time (UTC).
Specified in the Unix time format.
For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the end time.
Constraints:
Specified in Coordinated Universal Time (UTC).
Specified in the Unix time format.
For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the end time.
public GetRelationalDatabaseMetricDataRequest withEndTime(Date endTime)
The end of the time interval from which to get metric data.
Constraints:
Specified in Coordinated Universal Time (UTC).
Specified in the Unix time format.
For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the end time.
endTime
- The end of the time interval from which to get metric data.
Constraints:
Specified in Coordinated Universal Time (UTC).
Specified in the Unix time format.
For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the end time.
public void setUnit(String unit)
The unit for the metric data request.
unit
- The unit for the metric data request.MetricUnit
public String getUnit()
The unit for the metric data request.
MetricUnit
public GetRelationalDatabaseMetricDataRequest withUnit(String unit)
The unit for the metric data request.
unit
- The unit for the metric data request.MetricUnit
public GetRelationalDatabaseMetricDataRequest withUnit(MetricUnit unit)
The unit for the metric data request.
unit
- The unit for the metric data request.MetricUnit
public List<String> getStatistics()
The array of statistics for your metric data request.
MetricStatistic
public void setStatistics(Collection<String> statistics)
The array of statistics for your metric data request.
statistics
- The array of statistics for your metric data request.MetricStatistic
public GetRelationalDatabaseMetricDataRequest withStatistics(String... statistics)
The array of statistics for your metric data request.
NOTE: This method appends the values to the existing list (if any). Use
setStatistics(java.util.Collection)
or withStatistics(java.util.Collection)
if you want to
override the existing values.
statistics
- The array of statistics for your metric data request.MetricStatistic
public GetRelationalDatabaseMetricDataRequest withStatistics(Collection<String> statistics)
The array of statistics for your metric data request.
statistics
- The array of statistics for your metric data request.MetricStatistic
public GetRelationalDatabaseMetricDataRequest withStatistics(MetricStatistic... statistics)
The array of statistics for your metric data request.
statistics
- The array of statistics for your metric data request.MetricStatistic
public String toString()
toString
in class Object
Object.toString()
public GetRelationalDatabaseMetricDataRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.