@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()
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. |
Budget |
getBudget()
The budget object that you want to create.
|
List<NotificationWithSubscribers> |
getNotificationsWithSubscribers()
A notification that you want to associate with a budget.
|
List<ResourceTag> |
getResourceTags()
An optional list of tags to associate with the specified 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.
|
void |
setResourceTags(Collection<ResourceTag> resourceTags)
An optional list of tags to associate with the specified budget.
|
String |
toString()
Returns a string representation of this object.
|
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.
|
CreateBudgetRequest |
withResourceTags(Collection<ResourceTag> resourceTags)
An optional list of tags to associate with the specified budget.
|
CreateBudgetRequest |
withResourceTags(ResourceTag... resourceTags)
An optional list of tags to associate with the specified budget.
|
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.
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 10 email subscribers. If you include notifications and
subscribers in your CreateBudget
call, Amazon Web Services creates the notifications and subscribers
for you.
CreateBudget
call, Amazon Web Services 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 10 email subscribers. If you include notifications and
subscribers in your CreateBudget
call, Amazon Web Services 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 10 email subscribers. If you include notifications
and subscribers in your CreateBudget
call, Amazon Web Services 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 10 email subscribers. If you include notifications and
subscribers in your CreateBudget
call, Amazon Web Services 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 10 email subscribers. If you include notifications
and subscribers in your CreateBudget
call, Amazon Web Services 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 10 email subscribers. If you include notifications and
subscribers in your CreateBudget
call, Amazon Web Services 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 10 email subscribers. If you include notifications
and subscribers in your CreateBudget
call, Amazon Web Services creates the notifications and
subscribers for you.public List<ResourceTag> getResourceTags()
An optional list of tags to associate with the specified budget. Each tag consists of a key and a value, and each key must be unique for the resource.
public void setResourceTags(Collection<ResourceTag> resourceTags)
An optional list of tags to associate with the specified budget. Each tag consists of a key and a value, and each key must be unique for the resource.
resourceTags
- An optional list of tags to associate with the specified budget. Each tag consists of a key and a value,
and each key must be unique for the resource.public CreateBudgetRequest withResourceTags(ResourceTag... resourceTags)
An optional list of tags to associate with the specified budget. Each tag consists of a key and a value, and each key must be unique for the resource.
NOTE: This method appends the values to the existing list (if any). Use
setResourceTags(java.util.Collection)
or withResourceTags(java.util.Collection)
if you want to
override the existing values.
resourceTags
- An optional list of tags to associate with the specified budget. Each tag consists of a key and a value,
and each key must be unique for the resource.public CreateBudgetRequest withResourceTags(Collection<ResourceTag> resourceTags)
An optional list of tags to associate with the specified budget. Each tag consists of a key and a value, and each key must be unique for the resource.
resourceTags
- An optional list of tags to associate with the specified budget. Each tag consists of a key and a value,
and each key must be unique for the resource.public String toString()
toString
in class Object
Object.toString()
public CreateBudgetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()