@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getFrequency()
The update to the frequency value that subscribers 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 new name of the subscription.
|
Double |
getThreshold()
The update to the threshold value for receiving notifications.
|
int |
hashCode() |
void |
setFrequency(String frequency)
The update to the frequency value that subscribers 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 new name of the subscription.
|
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 that subscribers receive notifications.
|
UpdateAnomalySubscriptionRequest |
withFrequency(String frequency)
The update to the frequency value that subscribers 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 new name of the subscription.
|
UpdateAnomalySubscriptionRequest |
withThreshold(Double threshold)
The update to the threshold value for receiving notifications.
|
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 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 that subscribers receive notifications.
frequency
- The update to the frequency value that subscribers receive notifications.AnomalySubscriptionFrequency
public String getFrequency()
The update to the frequency value that subscribers receive notifications.
AnomalySubscriptionFrequency
public UpdateAnomalySubscriptionRequest withFrequency(String frequency)
The update to the frequency value that subscribers receive notifications.
frequency
- The update to the frequency value that subscribers receive notifications.AnomalySubscriptionFrequency
public UpdateAnomalySubscriptionRequest withFrequency(AnomalySubscriptionFrequency frequency)
The update to the frequency value that subscribers receive notifications.
frequency
- The update to the frequency value that subscribers 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 new name of the subscription.
subscriptionName
- The new name of the subscription.public String getSubscriptionName()
The new name of the subscription.
public UpdateAnomalySubscriptionRequest withSubscriptionName(String subscriptionName)
The new name of the subscription.
subscriptionName
- The new name of the subscription.public String toString()
toString
in class Object
Object.toString()
public UpdateAnomalySubscriptionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()