@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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 setMonitorName(String monitorName)
The name of the monitor to update.
monitorName
- The name of the monitor to update.public String getMonitorName()
The name of the monitor to update.
public UpdateMonitorRequest withMonitorName(String monitorName)
The name of the monitor to update.
monitorName
- The name of the monitor to update.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 Object
Object.toString()
public UpdateMonitorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()