@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFleetMetricResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeFleetMetricResult() |
Modifier and Type | Method and Description |
---|---|
DescribeFleetMetricResult |
clone() |
boolean |
equals(Object obj) |
String |
getAggregationField()
The field to aggregate.
|
AggregationType |
getAggregationType()
The type of the aggregation query.
|
Date |
getCreationDate()
The date when the fleet metric is created.
|
String |
getDescription()
The fleet metric description.
|
String |
getIndexName()
The name of the index to search.
|
Date |
getLastModifiedDate()
The date when the fleet metric is last modified.
|
String |
getMetricArn()
The ARN of the fleet metric to describe.
|
String |
getMetricName()
The name of the fleet metric to describe.
|
Integer |
getPeriod()
The time in seconds between fleet metric emissions.
|
String |
getQueryString()
The search query string.
|
String |
getQueryVersion()
The query version.
|
String |
getUnit()
Used to support unit transformation such as milliseconds to seconds.
|
Long |
getVersion()
The version of the fleet metric.
|
int |
hashCode() |
void |
setAggregationField(String aggregationField)
The field to aggregate.
|
void |
setAggregationType(AggregationType aggregationType)
The type of the aggregation query.
|
void |
setCreationDate(Date creationDate)
The date when the fleet metric is created.
|
void |
setDescription(String description)
The fleet metric description.
|
void |
setIndexName(String indexName)
The name of the index to search.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The date when the fleet metric is last modified.
|
void |
setMetricArn(String metricArn)
The ARN of the fleet metric to describe.
|
void |
setMetricName(String metricName)
The name of the fleet metric to describe.
|
void |
setPeriod(Integer period)
The time in seconds between fleet metric emissions.
|
void |
setQueryString(String queryString)
The search query string.
|
void |
setQueryVersion(String queryVersion)
The query version.
|
void |
setUnit(String unit)
Used to support unit transformation such as milliseconds to seconds.
|
void |
setVersion(Long version)
The version of the fleet metric.
|
String |
toString()
Returns a string representation of this object.
|
DescribeFleetMetricResult |
withAggregationField(String aggregationField)
The field to aggregate.
|
DescribeFleetMetricResult |
withAggregationType(AggregationType aggregationType)
The type of the aggregation query.
|
DescribeFleetMetricResult |
withCreationDate(Date creationDate)
The date when the fleet metric is created.
|
DescribeFleetMetricResult |
withDescription(String description)
The fleet metric description.
|
DescribeFleetMetricResult |
withIndexName(String indexName)
The name of the index to search.
|
DescribeFleetMetricResult |
withLastModifiedDate(Date lastModifiedDate)
The date when the fleet metric is last modified.
|
DescribeFleetMetricResult |
withMetricArn(String metricArn)
The ARN of the fleet metric to describe.
|
DescribeFleetMetricResult |
withMetricName(String metricName)
The name of the fleet metric to describe.
|
DescribeFleetMetricResult |
withPeriod(Integer period)
The time in seconds between fleet metric emissions.
|
DescribeFleetMetricResult |
withQueryString(String queryString)
The search query string.
|
DescribeFleetMetricResult |
withQueryVersion(String queryVersion)
The query version.
|
DescribeFleetMetricResult |
withUnit(FleetMetricUnit unit)
Used to support unit transformation such as milliseconds to seconds.
|
DescribeFleetMetricResult |
withUnit(String unit)
Used to support unit transformation such as milliseconds to seconds.
|
DescribeFleetMetricResult |
withVersion(Long version)
The version of the fleet metric.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMetricName(String metricName)
The name of the fleet metric to describe.
metricName
- The name of the fleet metric to describe.public String getMetricName()
The name of the fleet metric to describe.
public DescribeFleetMetricResult withMetricName(String metricName)
The name of the fleet metric to describe.
metricName
- The name of the fleet metric to describe.public void setQueryString(String queryString)
The search query string.
queryString
- The search query string.public String getQueryString()
The search query string.
public DescribeFleetMetricResult withQueryString(String queryString)
The search query string.
queryString
- The search query string.public void setAggregationType(AggregationType aggregationType)
The type of the aggregation query.
aggregationType
- The type of the aggregation query.public AggregationType getAggregationType()
The type of the aggregation query.
public DescribeFleetMetricResult withAggregationType(AggregationType aggregationType)
The type of the aggregation query.
aggregationType
- The type of the aggregation query.public void setPeriod(Integer period)
The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.
period
- The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple
of 60.public Integer getPeriod()
The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.
public DescribeFleetMetricResult withPeriod(Integer period)
The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.
period
- The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple
of 60.public void setAggregationField(String aggregationField)
The field to aggregate.
aggregationField
- The field to aggregate.public String getAggregationField()
The field to aggregate.
public DescribeFleetMetricResult withAggregationField(String aggregationField)
The field to aggregate.
aggregationField
- The field to aggregate.public void setDescription(String description)
The fleet metric description.
description
- The fleet metric description.public String getDescription()
The fleet metric description.
public DescribeFleetMetricResult withDescription(String description)
The fleet metric description.
description
- The fleet metric description.public void setQueryVersion(String queryVersion)
The query version.
queryVersion
- The query version.public String getQueryVersion()
The query version.
public DescribeFleetMetricResult withQueryVersion(String queryVersion)
The query version.
queryVersion
- The query version.public void setIndexName(String indexName)
The name of the index to search.
indexName
- The name of the index to search.public String getIndexName()
The name of the index to search.
public DescribeFleetMetricResult withIndexName(String indexName)
The name of the index to search.
indexName
- The name of the index to search.public void setCreationDate(Date creationDate)
The date when the fleet metric is created.
creationDate
- The date when the fleet metric is created.public Date getCreationDate()
The date when the fleet metric is created.
public DescribeFleetMetricResult withCreationDate(Date creationDate)
The date when the fleet metric is created.
creationDate
- The date when the fleet metric is created.public void setLastModifiedDate(Date lastModifiedDate)
The date when the fleet metric is last modified.
lastModifiedDate
- The date when the fleet metric is last modified.public Date getLastModifiedDate()
The date when the fleet metric is last modified.
public DescribeFleetMetricResult withLastModifiedDate(Date lastModifiedDate)
The date when the fleet metric is last modified.
lastModifiedDate
- The date when the fleet metric is last modified.public void setUnit(String unit)
Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.
unit
- Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW
metric.FleetMetricUnit
public String getUnit()
Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.
FleetMetricUnit
public DescribeFleetMetricResult withUnit(String unit)
Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.
unit
- Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW
metric.FleetMetricUnit
public DescribeFleetMetricResult withUnit(FleetMetricUnit unit)
Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.
unit
- Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW
metric.FleetMetricUnit
public void setVersion(Long version)
The version of the fleet metric.
version
- The version of the fleet metric.public Long getVersion()
The version of the fleet metric.
public DescribeFleetMetricResult withVersion(Long version)
The version of the fleet metric.
version
- The version of the fleet metric.public void setMetricArn(String metricArn)
The ARN of the fleet metric to describe.
metricArn
- The ARN of the fleet metric to describe.public String getMetricArn()
The ARN of the fleet metric to describe.
public DescribeFleetMetricResult withMetricArn(String metricArn)
The ARN of the fleet metric to describe.
metricArn
- The ARN of the fleet metric to describe.public String toString()
toString
in class Object
Object.toString()
public DescribeFleetMetricResult clone()