@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAnomalySubscriptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateAnomalySubscriptionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAnomalySubscriptionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getFrequency()
The update to the frequency value at which subscribers will receive notifications.
|
List<String> |
getMonitorArnList()
A list of cost anomaly monitor ARNs.
|
List<Subscriber> |
getSubscribers()
The update to the subscriber list.
|
String |
getSubscriptionArn()
A cost anomaly subscription Amazon Resource Name (ARN).
|
String |
getSubscriptionName()
The subscription's new name.
|
Double |
getThreshold()
The update to the threshold value for receiving notifications.
|
int |
hashCode() |
void |
setFrequency(String frequency)
The update to the frequency value at which subscribers will receive notifications.
|
void |
setMonitorArnList(Collection<String> monitorArnList)
A list of cost anomaly monitor ARNs.
|
void |
setSubscribers(Collection<Subscriber> subscribers)
The update to the subscriber list.
|
void |
setSubscriptionArn(String subscriptionArn)
A cost anomaly subscription Amazon Resource Name (ARN).
|
void |
setSubscriptionName(String subscriptionName)
The subscription's new name.
|
void |
setThreshold(Double threshold)
The update to the threshold value for receiving notifications.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAnomalySubscriptionRequest |
withFrequency(AnomalySubscriptionFrequency frequency)
The update to the frequency value at which subscribers will receive notifications.
|
UpdateAnomalySubscriptionRequest |
withFrequency(String frequency)
The update to the frequency value at which subscribers will receive notifications.
|
UpdateAnomalySubscriptionRequest |
withMonitorArnList(Collection<String> monitorArnList)
A list of cost anomaly monitor ARNs.
|
UpdateAnomalySubscriptionRequest |
withMonitorArnList(String... monitorArnList)
A list of cost anomaly monitor ARNs.
|
UpdateAnomalySubscriptionRequest |
withSubscribers(Collection<Subscriber> subscribers)
The update to the subscriber list.
|
UpdateAnomalySubscriptionRequest |
withSubscribers(Subscriber... subscribers)
The update to the subscriber list.
|
UpdateAnomalySubscriptionRequest |
withSubscriptionArn(String subscriptionArn)
A cost anomaly subscription Amazon Resource Name (ARN).
|
UpdateAnomalySubscriptionRequest |
withSubscriptionName(String subscriptionName)
The subscription's new name.
|
UpdateAnomalySubscriptionRequest |
withThreshold(Double threshold)
The update to the threshold value for receiving notifications.
|
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, withSdkRequestTimeout
public void setSubscriptionArn(String subscriptionArn)
A cost anomaly subscription Amazon Resource Name (ARN).
subscriptionArn
- A cost anomaly subscription Amazon Resource Name (ARN).public String getSubscriptionArn()
A cost anomaly subscription Amazon Resource Name (ARN).
public UpdateAnomalySubscriptionRequest withSubscriptionArn(String subscriptionArn)
A cost anomaly subscription Amazon Resource Name (ARN).
subscriptionArn
- A cost anomaly subscription Amazon Resource Name (ARN).public void setThreshold(Double threshold)
The update to the threshold value for receiving notifications.
threshold
- The update to the threshold value for receiving notifications.public Double getThreshold()
The update to the threshold value for receiving notifications.
public UpdateAnomalySubscriptionRequest withThreshold(Double threshold)
The update to the threshold value for receiving notifications.
threshold
- The update to the threshold value for receiving notifications.public void setFrequency(String frequency)
The update to the frequency value at which subscribers will receive notifications.
frequency
- The update to the frequency value at which subscribers will receive notifications.AnomalySubscriptionFrequency
public String getFrequency()
The update to the frequency value at which subscribers will receive notifications.
AnomalySubscriptionFrequency
public UpdateAnomalySubscriptionRequest withFrequency(String frequency)
The update to the frequency value at which subscribers will receive notifications.
frequency
- The update to the frequency value at which subscribers will receive notifications.AnomalySubscriptionFrequency
public UpdateAnomalySubscriptionRequest withFrequency(AnomalySubscriptionFrequency frequency)
The update to the frequency value at which subscribers will receive notifications.
frequency
- The update to the frequency value at which subscribers will receive notifications.AnomalySubscriptionFrequency
public List<String> getMonitorArnList()
A list of cost anomaly monitor ARNs.
public void setMonitorArnList(Collection<String> monitorArnList)
A list of cost anomaly monitor ARNs.
monitorArnList
- A list of cost anomaly monitor ARNs.public UpdateAnomalySubscriptionRequest withMonitorArnList(String... monitorArnList)
A list of cost anomaly monitor ARNs.
NOTE: This method appends the values to the existing list (if any). Use
setMonitorArnList(java.util.Collection)
or withMonitorArnList(java.util.Collection)
if you want
to override the existing values.
monitorArnList
- A list of cost anomaly monitor ARNs.public UpdateAnomalySubscriptionRequest withMonitorArnList(Collection<String> monitorArnList)
A list of cost anomaly monitor ARNs.
monitorArnList
- A list of cost anomaly monitor ARNs.public List<Subscriber> getSubscribers()
The update to the subscriber list.
public void setSubscribers(Collection<Subscriber> subscribers)
The update to the subscriber list.
subscribers
- The update to the subscriber list.public UpdateAnomalySubscriptionRequest withSubscribers(Subscriber... subscribers)
The update to the subscriber list.
NOTE: This method appends the values to the existing list (if any). Use
setSubscribers(java.util.Collection)
or withSubscribers(java.util.Collection)
if you want to
override the existing values.
subscribers
- The update to the subscriber list.public UpdateAnomalySubscriptionRequest withSubscribers(Collection<Subscriber> subscribers)
The update to the subscriber list.
subscribers
- The update to the subscriber list.public void setSubscriptionName(String subscriptionName)
The subscription's new name.
subscriptionName
- The subscription's new name.public String getSubscriptionName()
The subscription's new name.
public UpdateAnomalySubscriptionRequest withSubscriptionName(String subscriptionName)
The subscription's new name.
subscriptionName
- The subscription's new name.public String toString()
toString
in class Object
Object.toString()
public UpdateAnomalySubscriptionRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2020. All rights reserved.