@Generated(value="software.amazon.awssdk:codegen") public final class EstimateByTime extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EstimateByTime.Builder,EstimateByTime>
An estimate that's associated with a time period.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EstimateByTime.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EstimateByTime.Builder |
builder() |
Currency |
currency()
The currency of the estimate in USD.
|
String |
currencyAsString()
The currency of the estimate in USD.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
PricingUnit |
pricingUnit()
The unit of measurement that's used for the cost estimate.
|
String |
pricingUnitAsString()
The unit of measurement that's used for the cost estimate.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EstimateByTime.Builder> |
serializableBuilderClass() |
TimePeriod |
timePeriod()
The period of time, in days, that an estimate covers.
|
EstimateByTime.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Double |
unit()
The number of pricing units used to calculate the total number of hours.
|
Double |
usageCost()
The amount of cost or usage that's measured for the cost estimate.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Double usageCost()
The amount of cost or usage that's measured for the cost estimate.
public final PricingUnit pricingUnit()
The unit of measurement that's used for the cost estimate.
If the service returns an enum value that is not available in the current SDK version, pricingUnit will
return PricingUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
pricingUnitAsString().
PricingUnitpublic final String pricingUnitAsString()
The unit of measurement that's used for the cost estimate.
If the service returns an enum value that is not available in the current SDK version, pricingUnit will
return PricingUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
pricingUnitAsString().
PricingUnitpublic final Double unit()
The number of pricing units used to calculate the total number of hours. For example, 1 unit equals 1 hour.
public final Currency currency()
The currency of the estimate in USD.
If the service returns an enum value that is not available in the current SDK version, currency will
return Currency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
currencyAsString().
Currencypublic final String currencyAsString()
The currency of the estimate in USD.
If the service returns an enum value that is not available in the current SDK version, currency will
return Currency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
currencyAsString().
Currencypublic final TimePeriod timePeriod()
The period of time, in days, that an estimate covers. The period has a start date and an end date. The start date must come before the end date.
public EstimateByTime.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EstimateByTime.Builder,EstimateByTime>public static EstimateByTime.Builder builder()
public static Class<? extends EstimateByTime.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.