@Generated(value="software.amazon.awssdk:codegen") public final class Budget extends Object implements StructuredPojo, ToCopyableBuilder<Budget.Builder,Budget>
Modifier and Type | Class and Description |
---|---|
static interface |
Budget.Builder |
Modifier and Type | Method and Description |
---|---|
Spend |
budgetLimit()
Returns the value of the BudgetLimit property for this object.
|
String |
budgetName()
Returns the value of the BudgetName property for this object.
|
BudgetType |
budgetType()
Returns the value of the BudgetType property for this object.
|
String |
budgetTypeAsString()
Returns the value of the BudgetType property for this object.
|
static Budget.Builder |
builder() |
CalculatedSpend |
calculatedSpend()
Returns the value of the CalculatedSpend property for this object.
|
Map<String,List<String>> |
costFilters()
Returns the value of the CostFilters property for this object.
|
CostTypes |
costTypes()
Returns the value of the CostTypes property for this object.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Budget.Builder> |
serializableBuilderClass() |
TimePeriod |
timePeriod()
Returns the value of the TimePeriod property for this object.
|
TimeUnit |
timeUnit()
Returns the value of the TimeUnit property for this object.
|
String |
timeUnitAsString()
Returns the value of the TimeUnit property for this object.
|
Budget.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String budgetName()
public Spend budgetLimit()
public Map<String,List<String>> costFilters()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CostTypes costTypes()
public TimeUnit timeUnit()
If the service returns an enum value that is not available in the current SDK version, timeUnit
will
return TimeUnit.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
timeUnitAsString()
.
TimeUnit
public String timeUnitAsString()
If the service returns an enum value that is not available in the current SDK version, timeUnit
will
return TimeUnit.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
timeUnitAsString()
.
TimeUnit
public TimePeriod timePeriod()
public CalculatedSpend calculatedSpend()
public BudgetType budgetType()
If the service returns an enum value that is not available in the current SDK version, budgetType
will
return BudgetType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
budgetTypeAsString()
.
BudgetType
public String budgetTypeAsString()
If the service returns an enum value that is not available in the current SDK version, budgetType
will
return BudgetType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
budgetTypeAsString()
.
BudgetType
public Budget.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Budget.Builder,Budget>
public static Budget.Builder builder()
public static Class<? extends Budget.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.