@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateMonitorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateMonitorRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateMonitorRequest |
clone() |
boolean |
equals(Object obj) |
Long |
getAggregationPeriod()
The aggregation time, in seconds, to change to.
|
String |
getMonitorName()
The name of the monitor to update.
|
int |
hashCode() |
void |
setAggregationPeriod(Long aggregationPeriod)
The aggregation time, in seconds, to change to.
|
void |
setMonitorName(String monitorName)
The name of the monitor to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateMonitorRequest |
withAggregationPeriod(Long aggregationPeriod)
The aggregation time, in seconds, to change to.
|
UpdateMonitorRequest |
withMonitorName(String monitorName)
The name of the monitor to update.
|
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, withSdkRequestTimeoutpublic void setMonitorName(String monitorName)
The name of the monitor to update. Run ListMonitors to get a list of monitor names.
monitorName - The name of the monitor to update. Run ListMonitors to get a list of monitor names.public String getMonitorName()
The name of the monitor to update. Run ListMonitors to get a list of monitor names.
ListMonitors to get a list of monitor names.public UpdateMonitorRequest withMonitorName(String monitorName)
The name of the monitor to update. Run ListMonitors to get a list of monitor names.
monitorName - The name of the monitor to update. Run ListMonitors to get a list of monitor names.public void setAggregationPeriod(Long aggregationPeriod)
The aggregation time, in seconds, to change to. This must be either 30 or 60.
aggregationPeriod - The aggregation time, in seconds, to change to. This must be either 30 or 60.public Long getAggregationPeriod()
The aggregation time, in seconds, to change to. This must be either 30 or 60.
30 or 60.public UpdateMonitorRequest withAggregationPeriod(Long aggregationPeriod)
The aggregation time, in seconds, to change to. This must be either 30 or 60.
aggregationPeriod - The aggregation time, in seconds, to change to. This must be either 30 or 60.public String toString()
toString in class ObjectObject.toString()public UpdateMonitorRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2024. All rights reserved.