Class BillEstimateSummary
- java.lang.Object
-
- software.amazon.awssdk.services.bcmpricingcalculator.model.BillEstimateSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BillEstimateSummary.Builder,BillEstimateSummary>
@Generated("software.amazon.awssdk:codegen") public final class BillEstimateSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BillEstimateSummary.Builder,BillEstimateSummary>
Provides a summary of a bill estimate.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBillEstimateSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BillIntervalbillInterval()The time period covered by the bill estimate.static BillEstimateSummary.Builderbuilder()InstantcreatedAt()The timestamp when the bill estimate was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantexpiresAt()The timestamp when the bill estimate will expire.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique identifier of the bill estimate.Stringname()The name of the bill estimate.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends BillEstimateSummary.Builder>serializableBuilderClass()BillEstimateStatusstatus()The current status of the bill estimate.StringstatusAsString()The current status of the bill estimate.BillEstimateSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
The unique identifier of the bill estimate.
- Returns:
- The unique identifier of the bill estimate.
-
name
public final String name()
The name of the bill estimate.
- Returns:
- The name of the bill estimate.
-
status
public final BillEstimateStatus status()
The current status of the bill estimate.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnBillEstimateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the bill estimate.
- See Also:
BillEstimateStatus
-
statusAsString
public final String statusAsString()
The current status of the bill estimate.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnBillEstimateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the bill estimate.
- See Also:
BillEstimateStatus
-
billInterval
public final BillInterval billInterval()
The time period covered by the bill estimate.
- Returns:
- The time period covered by the bill estimate.
-
createdAt
public final Instant createdAt()
The timestamp when the bill estimate was created.
- Returns:
- The timestamp when the bill estimate was created.
-
expiresAt
public final Instant expiresAt()
The timestamp when the bill estimate will expire.
- Returns:
- The timestamp when the bill estimate will expire.
-
toBuilder
public BillEstimateSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BillEstimateSummary.Builder,BillEstimateSummary>
-
builder
public static BillEstimateSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends BillEstimateSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-