@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAlertRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateAlertRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAlertRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Action |
getAction()
Action that will be triggered when there is an alert.
|
String |
getAlertArn()
The ARN of the alert to update.
|
String |
getAlertDescription()
A description of the alert.
|
AlertFilters |
getAlertFilters()
The configuration of the alert filters, containing MetricList and DimensionFilterList.
|
Integer |
getAlertSensitivityThreshold()
An integer from 0 to 100 specifying the alert sensitivity threshold.
|
int |
hashCode() |
void |
setAction(Action action)
Action that will be triggered when there is an alert.
|
void |
setAlertArn(String alertArn)
The ARN of the alert to update.
|
void |
setAlertDescription(String alertDescription)
A description of the alert.
|
void |
setAlertFilters(AlertFilters alertFilters)
The configuration of the alert filters, containing MetricList and DimensionFilterList.
|
void |
setAlertSensitivityThreshold(Integer alertSensitivityThreshold)
An integer from 0 to 100 specifying the alert sensitivity threshold.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAlertRequest |
withAction(Action action)
Action that will be triggered when there is an alert.
|
UpdateAlertRequest |
withAlertArn(String alertArn)
The ARN of the alert to update.
|
UpdateAlertRequest |
withAlertDescription(String alertDescription)
A description of the alert.
|
UpdateAlertRequest |
withAlertFilters(AlertFilters alertFilters)
The configuration of the alert filters, containing MetricList and DimensionFilterList.
|
UpdateAlertRequest |
withAlertSensitivityThreshold(Integer alertSensitivityThreshold)
An integer from 0 to 100 specifying the alert sensitivity threshold.
|
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 setAlertArn(String alertArn)
The ARN of the alert to update.
alertArn
- The ARN of the alert to update.public String getAlertArn()
The ARN of the alert to update.
public UpdateAlertRequest withAlertArn(String alertArn)
The ARN of the alert to update.
alertArn
- The ARN of the alert to update.public void setAlertDescription(String alertDescription)
A description of the alert.
alertDescription
- A description of the alert.public String getAlertDescription()
A description of the alert.
public UpdateAlertRequest withAlertDescription(String alertDescription)
A description of the alert.
alertDescription
- A description of the alert.public void setAlertSensitivityThreshold(Integer alertSensitivityThreshold)
An integer from 0 to 100 specifying the alert sensitivity threshold.
alertSensitivityThreshold
- An integer from 0 to 100 specifying the alert sensitivity threshold.public Integer getAlertSensitivityThreshold()
An integer from 0 to 100 specifying the alert sensitivity threshold.
public UpdateAlertRequest withAlertSensitivityThreshold(Integer alertSensitivityThreshold)
An integer from 0 to 100 specifying the alert sensitivity threshold.
alertSensitivityThreshold
- An integer from 0 to 100 specifying the alert sensitivity threshold.public void setAction(Action action)
Action that will be triggered when there is an alert.
action
- Action that will be triggered when there is an alert.public Action getAction()
Action that will be triggered when there is an alert.
public UpdateAlertRequest withAction(Action action)
Action that will be triggered when there is an alert.
action
- Action that will be triggered when there is an alert.public void setAlertFilters(AlertFilters alertFilters)
The configuration of the alert filters, containing MetricList and DimensionFilterList.
alertFilters
- The configuration of the alert filters, containing MetricList and DimensionFilterList.public AlertFilters getAlertFilters()
The configuration of the alert filters, containing MetricList and DimensionFilterList.
public UpdateAlertRequest withAlertFilters(AlertFilters alertFilters)
The configuration of the alert filters, containing MetricList and DimensionFilterList.
alertFilters
- The configuration of the alert filters, containing MetricList and DimensionFilterList.public String toString()
toString
in class Object
Object.toString()
public UpdateAlertRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()