Class UpdateBillEstimateResponse
- 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.UpdateBillEstimateResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateBillEstimateResponse.Builder,UpdateBillEstimateResponse>
@Generated("software.amazon.awssdk:codegen") public final class UpdateBillEstimateResponse extends BcmPricingCalculatorResponse implements ToCopyableBuilder<UpdateBillEstimateResponse.Builder,UpdateBillEstimateResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateBillEstimateResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BillIntervalbillInterval()The time period covered by the updated bill estimate.static UpdateBillEstimateResponse.Builderbuilder()BillEstimateCostSummarycostSummary()A summary of the updated estimated costs.InstantcreatedAt()The timestamp when the bill estimate was originally created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantexpiresAt()The updated expiration timestamp for the bill estimate.StringfailureMessage()An error message if the bill estimate update failed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique identifier of the updated bill estimate.Stringname()The updated name of the bill estimate.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateBillEstimateResponse.Builder>serializableBuilderClass()BillEstimateStatusstatus()The current status of the updated bill estimate.StringstatusAsString()The current status of the updated bill estimate.UpdateBillEstimateResponse.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 the updated bill estimate.
- Returns:
- The unique identifier of the updated bill estimate.
-
name
public final String name()
The updated name of the bill estimate.
- Returns:
- The updated name of the bill estimate.
-
status
public final BillEstimateStatus status()
The current status of the updated 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 updated bill estimate.
- See Also:
BillEstimateStatus
-
statusAsString
public final String statusAsString()
The current status of the updated 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 updated bill estimate.
- See Also:
BillEstimateStatus
-
failureMessage
public final String failureMessage()
An error message if the bill estimate update failed.
- Returns:
- An error message if the bill estimate update failed.
-
billInterval
public final BillInterval billInterval()
The time period covered by the updated bill estimate.
- Returns:
- The time period covered by the updated bill estimate.
-
costSummary
public final BillEstimateCostSummary costSummary()
A summary of the updated estimated costs.
- Returns:
- A summary of the updated estimated costs.
-
createdAt
public final Instant createdAt()
The timestamp when the bill estimate was originally created.
- Returns:
- The timestamp when the bill estimate was originally created.
-
expiresAt
public final Instant expiresAt()
The updated expiration timestamp for the bill estimate.
- Returns:
- The updated expiration timestamp for the bill estimate.
-
toBuilder
public UpdateBillEstimateResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateBillEstimateResponse.Builder,UpdateBillEstimateResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static UpdateBillEstimateResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateBillEstimateResponse.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
-
-