Class BatchCreateBillScenarioCommitmentModificationEntry
- java.lang.Object
-
- software.amazon.awssdk.services.bcmpricingcalculator.model.BatchCreateBillScenarioCommitmentModificationEntry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BatchCreateBillScenarioCommitmentModificationEntry.Builder,BatchCreateBillScenarioCommitmentModificationEntry>
@Generated("software.amazon.awssdk:codegen") public final class BatchCreateBillScenarioCommitmentModificationEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchCreateBillScenarioCommitmentModificationEntry.Builder,BatchCreateBillScenarioCommitmentModificationEntry>
Represents an entry object in the batch operation to create bill scenario commitment modifications.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBatchCreateBillScenarioCommitmentModificationEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchCreateBillScenarioCommitmentModificationEntry.Builderbuilder()BillScenarioCommitmentModificationActioncommitmentAction()The specific commitment action to be taken (e.g., adding a Reserved Instance or Savings Plan).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)Stringgroup()An optional group identifier for the commitment modification.inthashCode()Stringkey()A unique identifier for this entry in the batch operation.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends BatchCreateBillScenarioCommitmentModificationEntry.Builder>serializableBuilderClass()BatchCreateBillScenarioCommitmentModificationEntry.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringusageAccountId()The Amazon Web Services account ID to which this commitment will be applied to.-
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
-
key
public final String key()
A unique identifier for this entry in the batch operation. This can be any valid string. This key is useful to identify errors associated with any commitment entry as any error is returned with this key.
- Returns:
- A unique identifier for this entry in the batch operation. This can be any valid string. This key is useful to identify errors associated with any commitment entry as any error is returned with this key.
-
group
public final String group()
An optional group identifier for the commitment modification.
- Returns:
- An optional group identifier for the commitment modification.
-
usageAccountId
public final String usageAccountId()
The Amazon Web Services account ID to which this commitment will be applied to.
- Returns:
- The Amazon Web Services account ID to which this commitment will be applied to.
-
commitmentAction
public final BillScenarioCommitmentModificationAction commitmentAction()
The specific commitment action to be taken (e.g., adding a Reserved Instance or Savings Plan).
- Returns:
- The specific commitment action to be taken (e.g., adding a Reserved Instance or Savings Plan).
-
toBuilder
public BatchCreateBillScenarioCommitmentModificationEntry.Builder toBuilder()
-
builder
public static BatchCreateBillScenarioCommitmentModificationEntry.Builder builder()
-
serializableBuilderClass
public static Class<? extends BatchCreateBillScenarioCommitmentModificationEntry.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
-
-