@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBudgetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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) |
List<BudgetActionToAdd> |
getActions()
The budget actions to specify what happens when the budget runs out.
|
Float |
getApproximateDollarLimit()
The dollar limit based on consumed usage.
|
String |
getClientToken()
The unique token which the server uses to recognize retries of the same request.
|
String |
getDescription()
The description of the budget.
|
String |
getDisplayName()
The display name of the budget.
|
String |
getFarmId()
The farm ID to include in this budget.
|
BudgetSchedule |
getSchedule()
The schedule to associate with this budget.
|
UsageTrackingResource |
getUsageTrackingResource()
The queue ID provided to this budget to track usage.
|
int |
hashCode() |
void |
setActions(Collection<BudgetActionToAdd> actions)
The budget actions to specify what happens when the budget runs out.
|
void |
setApproximateDollarLimit(Float approximateDollarLimit)
The dollar limit based on consumed usage.
|
void |
setClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
|
void |
setDescription(String description)
The description of the budget.
|
void |
setDisplayName(String displayName)
The display name of the budget.
|
void |
setFarmId(String farmId)
The farm ID to include in this budget.
|
void |
setSchedule(BudgetSchedule schedule)
The schedule to associate with this budget.
|
void |
setUsageTrackingResource(UsageTrackingResource usageTrackingResource)
The queue ID provided to this budget to track usage.
|
String |
toString()
Returns a string representation of this object.
|
CreateBudgetRequest |
withActions(BudgetActionToAdd... actions)
The budget actions to specify what happens when the budget runs out.
|
CreateBudgetRequest |
withActions(Collection<BudgetActionToAdd> actions)
The budget actions to specify what happens when the budget runs out.
|
CreateBudgetRequest |
withApproximateDollarLimit(Float approximateDollarLimit)
The dollar limit based on consumed usage.
|
CreateBudgetRequest |
withClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
|
CreateBudgetRequest |
withDescription(String description)
The description of the budget.
|
CreateBudgetRequest |
withDisplayName(String displayName)
The display name of the budget.
|
CreateBudgetRequest |
withFarmId(String farmId)
The farm ID to include in this budget.
|
CreateBudgetRequest |
withSchedule(BudgetSchedule schedule)
The schedule to associate with this budget.
|
CreateBudgetRequest |
withUsageTrackingResource(UsageTrackingResource usageTrackingResource)
The queue ID provided to this budget to track usage.
|
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 List<BudgetActionToAdd> getActions()
The budget actions to specify what happens when the budget runs out.
public void setActions(Collection<BudgetActionToAdd> actions)
The budget actions to specify what happens when the budget runs out.
actions
- The budget actions to specify what happens when the budget runs out.public CreateBudgetRequest withActions(BudgetActionToAdd... actions)
The budget actions to specify what happens when the budget runs out.
NOTE: This method appends the values to the existing list (if any). Use
setActions(java.util.Collection)
or withActions(java.util.Collection)
if you want to override
the existing values.
actions
- The budget actions to specify what happens when the budget runs out.public CreateBudgetRequest withActions(Collection<BudgetActionToAdd> actions)
The budget actions to specify what happens when the budget runs out.
actions
- The budget actions to specify what happens when the budget runs out.public void setApproximateDollarLimit(Float approximateDollarLimit)
The dollar limit based on consumed usage.
approximateDollarLimit
- The dollar limit based on consumed usage.public Float getApproximateDollarLimit()
The dollar limit based on consumed usage.
public CreateBudgetRequest withApproximateDollarLimit(Float approximateDollarLimit)
The dollar limit based on consumed usage.
approximateDollarLimit
- The dollar limit based on consumed usage.public void setClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
clientToken
- The unique token which the server uses to recognize retries of the same request.public String getClientToken()
The unique token which the server uses to recognize retries of the same request.
public CreateBudgetRequest withClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
clientToken
- The unique token which the server uses to recognize retries of the same request.public void setDescription(String description)
The description of the budget.
description
- The description of the budget.public String getDescription()
The description of the budget.
public CreateBudgetRequest withDescription(String description)
The description of the budget.
description
- The description of the budget.public void setDisplayName(String displayName)
The display name of the budget.
displayName
- The display name of the budget.public String getDisplayName()
The display name of the budget.
public CreateBudgetRequest withDisplayName(String displayName)
The display name of the budget.
displayName
- The display name of the budget.public void setFarmId(String farmId)
The farm ID to include in this budget.
farmId
- The farm ID to include in this budget.public String getFarmId()
The farm ID to include in this budget.
public CreateBudgetRequest withFarmId(String farmId)
The farm ID to include in this budget.
farmId
- The farm ID to include in this budget.public void setSchedule(BudgetSchedule schedule)
The schedule to associate with this budget.
schedule
- The schedule to associate with this budget.public BudgetSchedule getSchedule()
The schedule to associate with this budget.
public CreateBudgetRequest withSchedule(BudgetSchedule schedule)
The schedule to associate with this budget.
schedule
- The schedule to associate with this budget.public void setUsageTrackingResource(UsageTrackingResource usageTrackingResource)
The queue ID provided to this budget to track usage.
usageTrackingResource
- The queue ID provided to this budget to track usage.public UsageTrackingResource getUsageTrackingResource()
The queue ID provided to this budget to track usage.
public CreateBudgetRequest withUsageTrackingResource(UsageTrackingResource usageTrackingResource)
The queue ID provided to this budget to track usage.
usageTrackingResource
- The queue ID provided to this budget to track usage.public String toString()
toString
in class Object
Object.toString()
public CreateBudgetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()