Class GetUsageLinesEstimatedCostInput
java.lang.Object
software.amazon.awssdk.services.bcmpricingcalculator.model.GetUsageLinesEstimatedCostInput
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GetUsageLinesEstimatedCostInput.Builder,GetUsageLinesEstimatedCostInput>
@Generated("software.amazon.awssdk:codegen")
public final class GetUsageLinesEstimatedCostInput
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<GetUsageLinesEstimatedCostInput.Builder,GetUsageLinesEstimatedCostInput>
Represents a usage line that you want to estimate.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Doubleamount()The usage amount to price for the usage line in the usage type's pricing unit.builder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringkey()A unique identifier for the usage line in the request.final StringThe operation of the usage line, for exampleRunInstances.static Class<? extends GetUsageLinesEstimatedCostInput.Builder> final StringThe Amazon Web Services service code of the usage line, for exampleAmazonEC2.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringThe usage type of the usage line, for exampleBoxUsage:t3.micro.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
serviceCode
The Amazon Web Services service code of the usage line, for example
AmazonEC2.- Returns:
- The Amazon Web Services service code of the usage line, for example
AmazonEC2.
-
usageType
The usage type of the usage line, for example
BoxUsage:t3.micro.- Returns:
- The usage type of the usage line, for example
BoxUsage:t3.micro.
-
operation
The operation of the usage line, for example
RunInstances.- Returns:
- The operation of the usage line, for example
RunInstances.
-
key
A unique identifier for the usage line in the request. Use the key to match the usage line with its result in
lineItemsorerrorsin the response.- Returns:
- A unique identifier for the usage line in the request. Use the key to match the usage line with its
result in
lineItemsorerrorsin the response.
-
amount
The usage amount to price for the usage line in the usage type's pricing unit. This value must be 0 or greater.
- Returns:
- The usage amount to price for the usage line in the usage type's pricing unit. This value must be 0 or greater.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GetUsageLinesEstimatedCostInput.Builder,GetUsageLinesEstimatedCostInput> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-