@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateFleetMetricRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateFleetMetricRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateFleetMetricRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAggregationField()
The field to aggregate.
|
AggregationType |
getAggregationType()
The type of the aggregation query.
|
String |
getDescription()
The description of the fleet metric.
|
Long |
getExpectedVersion()
The expected version of the fleet metric record in the registry.
|
String |
getIndexName()
The name of the index to search.
|
String |
getMetricName()
The name of the fleet metric to update.
|
Integer |
getPeriod()
The time in seconds between fleet metric emissions.
|
String |
getQueryString()
The search query string.
|
String |
getQueryVersion()
The version of the query.
|
String |
getUnit()
Used to support unit transformation such as milliseconds to seconds.
|
int |
hashCode() |
void |
setAggregationField(String aggregationField)
The field to aggregate.
|
void |
setAggregationType(AggregationType aggregationType)
The type of the aggregation query.
|
void |
setDescription(String description)
The description of the fleet metric.
|
void |
setExpectedVersion(Long expectedVersion)
The expected version of the fleet metric record in the registry.
|
void |
setIndexName(String indexName)
The name of the index to search.
|
void |
setMetricName(String metricName)
The name of the fleet metric to update.
|
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 version of the query.
|
void |
setUnit(String unit)
Used to support unit transformation such as milliseconds to seconds.
|
String |
toString()
Returns a string representation of this object.
|
UpdateFleetMetricRequest |
withAggregationField(String aggregationField)
The field to aggregate.
|
UpdateFleetMetricRequest |
withAggregationType(AggregationType aggregationType)
The type of the aggregation query.
|
UpdateFleetMetricRequest |
withDescription(String description)
The description of the fleet metric.
|
UpdateFleetMetricRequest |
withExpectedVersion(Long expectedVersion)
The expected version of the fleet metric record in the registry.
|
UpdateFleetMetricRequest |
withIndexName(String indexName)
The name of the index to search.
|
UpdateFleetMetricRequest |
withMetricName(String metricName)
The name of the fleet metric to update.
|
UpdateFleetMetricRequest |
withPeriod(Integer period)
The time in seconds between fleet metric emissions.
|
UpdateFleetMetricRequest |
withQueryString(String queryString)
The search query string.
|
UpdateFleetMetricRequest |
withQueryVersion(String queryVersion)
The version of the query.
|
UpdateFleetMetricRequest |
withUnit(FleetMetricUnit unit)
Used to support unit transformation such as milliseconds to seconds.
|
UpdateFleetMetricRequest |
withUnit(String unit)
Used to support unit transformation such as milliseconds to seconds.
|
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 setMetricName(String metricName)
The name of the fleet metric to update.
metricName
- The name of the fleet metric to update.public String getMetricName()
The name of the fleet metric to update.
public UpdateFleetMetricRequest withMetricName(String metricName)
The name of the fleet metric to update.
metricName
- The name of the fleet metric to update.public void setQueryString(String queryString)
The search query string.
queryString
- The search query string.public String getQueryString()
The search query string.
public UpdateFleetMetricRequest 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 UpdateFleetMetricRequest 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 UpdateFleetMetricRequest 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 UpdateFleetMetricRequest withAggregationField(String aggregationField)
The field to aggregate.
aggregationField
- The field to aggregate.public void setDescription(String description)
The description of the fleet metric.
description
- The description of the fleet metric.public String getDescription()
The description of the fleet metric.
public UpdateFleetMetricRequest withDescription(String description)
The description of the fleet metric.
description
- The description of the fleet metric.public void setQueryVersion(String queryVersion)
The version of the query.
queryVersion
- The version of the query.public String getQueryVersion()
The version of the query.
public UpdateFleetMetricRequest withQueryVersion(String queryVersion)
The version of the query.
queryVersion
- The version of the query.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 UpdateFleetMetricRequest withIndexName(String indexName)
The name of the index to search.
indexName
- The name of the index to search.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 UpdateFleetMetricRequest 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 UpdateFleetMetricRequest 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 setExpectedVersion(Long expectedVersion)
The expected version of the fleet metric record in the registry.
expectedVersion
- The expected version of the fleet metric record in the registry.public Long getExpectedVersion()
The expected version of the fleet metric record in the registry.
public UpdateFleetMetricRequest withExpectedVersion(Long expectedVersion)
The expected version of the fleet metric record in the registry.
expectedVersion
- The expected version of the fleet metric record in the registry.public String toString()
toString
in class Object
Object.toString()
public UpdateFleetMetricRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()