@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateNotificationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request of CreateNotification
NOOP
Constructor and Description |
---|
CreateNotificationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateNotificationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The
accountId that is associated with the budget that you want to create a notification for. |
String |
getBudgetName()
The name of the budget that you want AWS to notify you about.
|
Notification |
getNotification()
The notification that you want to create.
|
List<Subscriber> |
getSubscribers()
A list of subscribers that you want to associate with the notification.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The
accountId that is associated with the budget that you want to create a notification for. |
void |
setBudgetName(String budgetName)
The name of the budget that you want AWS to notify you about.
|
void |
setNotification(Notification notification)
The notification that you want to create.
|
void |
setSubscribers(Collection<Subscriber> subscribers)
A list of subscribers that you want to associate with the notification.
|
String |
toString()
Returns a string representation of this object.
|
CreateNotificationRequest |
withAccountId(String accountId)
The
accountId that is associated with the budget that you want to create a notification for. |
CreateNotificationRequest |
withBudgetName(String budgetName)
The name of the budget that you want AWS to notify you about.
|
CreateNotificationRequest |
withNotification(Notification notification)
The notification that you want to create.
|
CreateNotificationRequest |
withSubscribers(Collection<Subscriber> subscribers)
A list of subscribers that you want to associate with the notification.
|
CreateNotificationRequest |
withSubscribers(Subscriber... subscribers)
A list of subscribers that you want to associate with the notification.
|
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 setAccountId(String accountId)
The accountId
that is associated with the budget that you want to create a notification for.
accountId
- The accountId
that is associated with the budget that you want to create a notification for.public String getAccountId()
The accountId
that is associated with the budget that you want to create a notification for.
accountId
that is associated with the budget that you want to create a notification for.public CreateNotificationRequest withAccountId(String accountId)
The accountId
that is associated with the budget that you want to create a notification for.
accountId
- The accountId
that is associated with the budget that you want to create a notification for.public void setBudgetName(String budgetName)
The name of the budget that you want AWS to notify you about. Budget names must be unique within an account.
budgetName
- The name of the budget that you want AWS to notify you about. Budget names must be unique within an
account.public String getBudgetName()
The name of the budget that you want AWS to notify you about. Budget names must be unique within an account.
public CreateNotificationRequest withBudgetName(String budgetName)
The name of the budget that you want AWS to notify you about. Budget names must be unique within an account.
budgetName
- The name of the budget that you want AWS to notify you about. Budget names must be unique within an
account.public void setNotification(Notification notification)
The notification that you want to create.
notification
- The notification that you want to create.public Notification getNotification()
The notification that you want to create.
public CreateNotificationRequest withNotification(Notification notification)
The notification that you want to create.
notification
- The notification that you want to create.public List<Subscriber> getSubscribers()
A list of subscribers that you want to associate with the notification. Each notification can have one SNS subscriber and up to 10 email subscribers.
public void setSubscribers(Collection<Subscriber> subscribers)
A list of subscribers that you want to associate with the notification. Each notification can have one SNS subscriber and up to 10 email subscribers.
subscribers
- A list of subscribers that you want to associate with the notification. Each notification can have one SNS
subscriber and up to 10 email subscribers.public CreateNotificationRequest withSubscribers(Subscriber... subscribers)
A list of subscribers that you want to associate with the notification. Each notification can have one SNS subscriber and up to 10 email subscribers.
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
- A list of subscribers that you want to associate with the notification. Each notification can have one SNS
subscriber and up to 10 email subscribers.public CreateNotificationRequest withSubscribers(Collection<Subscriber> subscribers)
A list of subscribers that you want to associate with the notification. Each notification can have one SNS subscriber and up to 10 email subscribers.
subscribers
- A list of subscribers that you want to associate with the notification. Each notification can have one SNS
subscriber and up to 10 email subscribers.public String toString()
toString
in class Object
Object.toString()
public CreateNotificationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.