@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBudgetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request of CreateBudget
NOOP| Constructor and Description |
|---|
CreateBudgetRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateBudgetRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The
accountId that is associated with the budget. |
Budget |
getBudget()
The budget object that you want to create.
|
List<NotificationWithSubscribers> |
getNotificationsWithSubscribers()
A notification that you want to associate with a budget.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The
accountId that is associated with the budget. |
void |
setBudget(Budget budget)
The budget object that you want to create.
|
void |
setNotificationsWithSubscribers(Collection<NotificationWithSubscribers> notificationsWithSubscribers)
A notification that you want to associate with a budget.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateBudgetRequest |
withAccountId(String accountId)
The
accountId that is associated with the budget. |
CreateBudgetRequest |
withBudget(Budget budget)
The budget object that you want to create.
|
CreateBudgetRequest |
withNotificationsWithSubscribers(Collection<NotificationWithSubscribers> notificationsWithSubscribers)
A notification that you want to associate with a budget.
|
CreateBudgetRequest |
withNotificationsWithSubscribers(NotificationWithSubscribers... notificationsWithSubscribers)
A notification that you want to associate with a budget.
|
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, withSdkRequestTimeoutpublic void setAccountId(String accountId)
The accountId that is associated with the budget.
accountId - The accountId that is associated with the budget.public String getAccountId()
The accountId that is associated with the budget.
accountId that is associated with the budget.public CreateBudgetRequest withAccountId(String accountId)
The accountId that is associated with the budget.
accountId - The accountId that is associated with the budget.public void setBudget(Budget budget)
The budget object that you want to create.
budget - The budget object that you want to create.public Budget getBudget()
The budget object that you want to create.
public CreateBudgetRequest withBudget(Budget budget)
The budget object that you want to create.
budget - The budget object that you want to create.public List<NotificationWithSubscribers> getNotificationsWithSubscribers()
A notification that you want to associate with a budget. A budget can have up to five notifications, and each
notification can have one SNS subscriber and up to ten email subscribers. If you include notifications and
subscribers in your CreateBudget call, AWS creates the notifications and subscribers for you.
CreateBudget call, AWS creates the notifications and
subscribers for you.public void setNotificationsWithSubscribers(Collection<NotificationWithSubscribers> notificationsWithSubscribers)
A notification that you want to associate with a budget. A budget can have up to five notifications, and each
notification can have one SNS subscriber and up to ten email subscribers. If you include notifications and
subscribers in your CreateBudget call, AWS creates the notifications and subscribers for you.
notificationsWithSubscribers - A notification that you want to associate with a budget. A budget can have up to five notifications, and
each notification can have one SNS subscriber and up to ten email subscribers. If you include
notifications and subscribers in your CreateBudget call, AWS creates the notifications and
subscribers for you.public CreateBudgetRequest withNotificationsWithSubscribers(NotificationWithSubscribers... notificationsWithSubscribers)
A notification that you want to associate with a budget. A budget can have up to five notifications, and each
notification can have one SNS subscriber and up to ten email subscribers. If you include notifications and
subscribers in your CreateBudget call, AWS creates the notifications and subscribers for you.
NOTE: This method appends the values to the existing list (if any). Use
setNotificationsWithSubscribers(java.util.Collection) or
withNotificationsWithSubscribers(java.util.Collection) if you want to override the existing values.
notificationsWithSubscribers - A notification that you want to associate with a budget. A budget can have up to five notifications, and
each notification can have one SNS subscriber and up to ten email subscribers. If you include
notifications and subscribers in your CreateBudget call, AWS creates the notifications and
subscribers for you.public CreateBudgetRequest withNotificationsWithSubscribers(Collection<NotificationWithSubscribers> notificationsWithSubscribers)
A notification that you want to associate with a budget. A budget can have up to five notifications, and each
notification can have one SNS subscriber and up to ten email subscribers. If you include notifications and
subscribers in your CreateBudget call, AWS creates the notifications and subscribers for you.
notificationsWithSubscribers - A notification that you want to associate with a budget. A budget can have up to five notifications, and
each notification can have one SNS subscriber and up to ten email subscribers. If you include
notifications and subscribers in your CreateBudget call, AWS creates the notifications and
subscribers for you.public String toString()
toString in class ObjectObject.toString()public CreateBudgetRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.