Class ComputeSavingsPlansConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.costoptimizationhub.model.ComputeSavingsPlansConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ComputeSavingsPlansConfiguration.Builder,ComputeSavingsPlansConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class ComputeSavingsPlansConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ComputeSavingsPlansConfiguration.Builder,ComputeSavingsPlansConfiguration>
The Compute Savings Plans configuration used for recommendations.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceComputeSavingsPlansConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountScope()The account scope that you want your recommendations for.static ComputeSavingsPlansConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhourlyCommitment()The hourly commitment for the Savings Plans type.StringpaymentOption()The payment option for the commitment.List<SdkField<?>>sdkFields()static Class<? extends ComputeSavingsPlansConfiguration.Builder>serializableBuilderClass()Stringterm()The Savings Plans recommendation term in years.ComputeSavingsPlansConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
accountScope
public final String accountScope()
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set to
PAYER. If the value isLINKED, recommendations are calculated for individual member accounts only.- Returns:
- The account scope that you want your recommendations for. Amazon Web Services calculates recommendations
including the management account and member accounts if the value is set to
PAYER. If the value isLINKED, recommendations are calculated for individual member accounts only.
-
hourlyCommitment
public final String hourlyCommitment()
The hourly commitment for the Savings Plans type.
- Returns:
- The hourly commitment for the Savings Plans type.
-
paymentOption
public final String paymentOption()
The payment option for the commitment.
- Returns:
- The payment option for the commitment.
-
term
public final String term()
The Savings Plans recommendation term in years.
- Returns:
- The Savings Plans recommendation term in years.
-
toBuilder
public ComputeSavingsPlansConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ComputeSavingsPlansConfiguration.Builder,ComputeSavingsPlansConfiguration>
-
builder
public static ComputeSavingsPlansConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends ComputeSavingsPlansConfiguration.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.
-
-