Class CreateBillEstimateResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.bcmpricingcalculator.model.BcmPricingCalculatorResponse
-
- software.amazon.awssdk.services.bcmpricingcalculator.model.CreateBillEstimateResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateBillEstimateResponse.Builder,CreateBillEstimateResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreateBillEstimateResponse extends BcmPricingCalculatorResponse implements ToCopyableBuilder<CreateBillEstimateResponse.Builder,CreateBillEstimateResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateBillEstimateResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BillIntervalbillInterval()The bill month start and end timestamp that was used to create the Bill estimate.static CreateBillEstimateResponse.Builderbuilder()BillEstimateCostSummarycostSummary()Returns summary-level cost information once a Bill estimate is successfully generated.InstantcreatedAt()The timestamp of when the Bill estimate create process was started (not when it successfully completed or failed).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantexpiresAt()The timestamp of when the Bill estimate will expire.StringfailureMessage()This attribute provides the reason if a Bill estimate result generation fails.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique identifier of your newly created Bill estimate.Stringname()The name of your newly created Bill estimate.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CreateBillEstimateResponse.Builder>serializableBuilderClass()BillEstimateStatusstatus()The status of your newly created Bill estimate.StringstatusAsString()The status of your newly created Bill estimate.CreateBillEstimateResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.bcmpricingcalculator.model.BcmPricingCalculatorResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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 your newly created Bill estimate.
- Returns:
- The unique identifier of your newly created Bill estimate.
-
name
public final String name()
The name of your newly created Bill estimate.
- Returns:
- The name of your newly created Bill estimate.
-
status
public final BillEstimateStatus status()
The status of your newly created Bill estimate. Bill estimate creation can take anywhere between 8 to 12 hours. The status will allow you to identify when the Bill estimate is complete or has failed.
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 status of your newly created Bill estimate. Bill estimate creation can take anywhere between 8 to 12 hours. The status will allow you to identify when the Bill estimate is complete or has failed.
- See Also:
BillEstimateStatus
-
statusAsString
public final String statusAsString()
The status of your newly created Bill estimate. Bill estimate creation can take anywhere between 8 to 12 hours. The status will allow you to identify when the Bill estimate is complete or has failed.
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 status of your newly created Bill estimate. Bill estimate creation can take anywhere between 8 to 12 hours. The status will allow you to identify when the Bill estimate is complete or has failed.
- See Also:
BillEstimateStatus
-
failureMessage
public final String failureMessage()
This attribute provides the reason if a Bill estimate result generation fails.
- Returns:
- This attribute provides the reason if a Bill estimate result generation fails.
-
billInterval
public final BillInterval billInterval()
The bill month start and end timestamp that was used to create the Bill estimate. This is set to the last complete anniversary bill month start and end timestamp.
- Returns:
- The bill month start and end timestamp that was used to create the Bill estimate. This is set to the last complete anniversary bill month start and end timestamp.
-
costSummary
public final BillEstimateCostSummary costSummary()
Returns summary-level cost information once a Bill estimate is successfully generated. This summary includes: 1) the total cost difference, showing the pre-tax cost change for the consolidated billing family between the completed anniversary bill and the estimated bill, and 2) total cost differences per service, detailing the pre-tax cost of each service, comparing the completed anniversary bill to the estimated bill on a per-service basis.
- Returns:
- Returns summary-level cost information once a Bill estimate is successfully generated. This summary includes: 1) the total cost difference, showing the pre-tax cost change for the consolidated billing family between the completed anniversary bill and the estimated bill, and 2) total cost differences per service, detailing the pre-tax cost of each service, comparing the completed anniversary bill to the estimated bill on a per-service basis.
-
createdAt
public final Instant createdAt()
The timestamp of when the Bill estimate create process was started (not when it successfully completed or failed).
- Returns:
- The timestamp of when the Bill estimate create process was started (not when it successfully completed or failed).
-
expiresAt
public final Instant expiresAt()
The timestamp of when the Bill estimate will expire. A Bill estimate becomes inaccessible after expiration.
- Returns:
- The timestamp of when the Bill estimate will expire. A Bill estimate becomes inaccessible after expiration.
-
toBuilder
public CreateBillEstimateResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateBillEstimateResponse.Builder,CreateBillEstimateResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreateBillEstimateResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateBillEstimateResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-