Class HistoricalUsageEntity
- java.lang.Object
-
- software.amazon.awssdk.services.bcmpricingcalculator.model.HistoricalUsageEntity
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HistoricalUsageEntity.Builder,HistoricalUsageEntity>
@Generated("software.amazon.awssdk:codegen") public final class HistoricalUsageEntity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HistoricalUsageEntity.Builder,HistoricalUsageEntity>
Represents historical usage data for a specific entity.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHistoricalUsageEntity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BillIntervalbillInterval()The time interval for the historical usage data.static HistoricalUsageEntity.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ExpressionfilterExpression()An optional filter expression to apply to the historical usage data.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringlocation()The location associated with the usage.Stringoperation()The specific operation associated with the usage.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends HistoricalUsageEntity.Builder>serializableBuilderClass()StringserviceCode()The Amazon Web Services service code associated with the usage.HistoricalUsageEntity.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringusageAccountId()The Amazon Web Services account ID associated with the usage.StringusageType()The type of usage.-
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
-
serviceCode
public final String serviceCode()
The Amazon Web Services service code associated with the usage.
- Returns:
- The Amazon Web Services service code associated with the usage.
-
usageType
public final String usageType()
The type of usage.
- Returns:
- The type of usage.
-
operation
public final String operation()
The specific operation associated with the usage.
- Returns:
- The specific operation associated with the usage.
-
location
public final String location()
The location associated with the usage.
- Returns:
- The location associated with the usage.
-
usageAccountId
public final String usageAccountId()
The Amazon Web Services account ID associated with the usage.
- Returns:
- The Amazon Web Services account ID associated with the usage.
-
billInterval
public final BillInterval billInterval()
The time interval for the historical usage data.
- Returns:
- The time interval for the historical usage data.
-
filterExpression
public final Expression filterExpression()
An optional filter expression to apply to the historical usage data.
- Returns:
- An optional filter expression to apply to the historical usage data.
-
toBuilder
public HistoricalUsageEntity.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HistoricalUsageEntity.Builder,HistoricalUsageEntity>
-
builder
public static HistoricalUsageEntity.Builder builder()
-
serializableBuilderClass
public static Class<? extends HistoricalUsageEntity.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
-
-