@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CommitmentsAwsSPCommitment extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_COMMITMENT_ID |
static String |
JSON_PROPERTY_COMMITTED_SPEND_PER_HOUR |
static String |
JSON_PROPERTY_EXPIRATION_DATE |
static String |
JSON_PROPERTY_PURCHASE_OPTION |
static String |
JSON_PROPERTY_SAVINGS_PLAN_TYPE |
static String |
JSON_PROPERTY_START_DATE |
static String |
JSON_PROPERTY_TERM_LENGTH |
static String |
JSON_PROPERTY_UTILIZATION |
boolean |
unparsed |
| Constructor and Description |
|---|
CommitmentsAwsSPCommitment() |
CommitmentsAwsSPCommitment(String commitmentId,
String purchaseOption,
String savingsPlanType) |
| Modifier and Type | Method and Description |
|---|---|
CommitmentsAwsSPCommitment |
commitmentId(String commitmentId) |
CommitmentsAwsSPCommitment |
committedSpendPerHour(Double committedSpendPerHour) |
boolean |
equals(Object o)
Return true if this CommitmentsAwsSPCommitment object is equal to o.
|
CommitmentsAwsSPCommitment |
expirationDate(String expirationDate) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getCommitmentId()
The unique identifier of the Savings Plan.
|
Double |
getCommittedSpendPerHour()
The hourly committed spend for the Savings Plan.
|
String |
getExpirationDate()
The expiration date of the commitment.
|
String |
getPurchaseOption()
The payment option for the Savings Plan.
|
String |
getSavingsPlanType()
The Savings Plan type.
|
String |
getStartDate()
The start date of the commitment.
|
Double |
getTermLength()
The term length in years.
|
Double |
getUtilization()
The utilization percentage of the commitment.
|
int |
hashCode() |
CommitmentsAwsSPCommitment |
purchaseOption(String purchaseOption) |
CommitmentsAwsSPCommitment |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
CommitmentsAwsSPCommitment |
savingsPlanType(String savingsPlanType) |
void |
setCommitmentId(String commitmentId) |
void |
setCommittedSpendPerHour(Double committedSpendPerHour) |
void |
setExpirationDate(String expirationDate) |
void |
setPurchaseOption(String purchaseOption) |
void |
setSavingsPlanType(String savingsPlanType) |
void |
setStartDate(String startDate) |
void |
setTermLength(Double termLength) |
void |
setUtilization(Double utilization) |
CommitmentsAwsSPCommitment |
startDate(String startDate) |
CommitmentsAwsSPCommitment |
termLength(Double termLength) |
String |
toString() |
CommitmentsAwsSPCommitment |
utilization(Double utilization) |
public boolean unparsed
public static final String JSON_PROPERTY_COMMITMENT_ID
public static final String JSON_PROPERTY_COMMITTED_SPEND_PER_HOUR
public static final String JSON_PROPERTY_EXPIRATION_DATE
public static final String JSON_PROPERTY_PURCHASE_OPTION
public static final String JSON_PROPERTY_SAVINGS_PLAN_TYPE
public static final String JSON_PROPERTY_START_DATE
public static final String JSON_PROPERTY_TERM_LENGTH
public static final String JSON_PROPERTY_UTILIZATION
public CommitmentsAwsSPCommitment commitmentId(String commitmentId)
public String getCommitmentId()
public void setCommitmentId(String commitmentId)
public CommitmentsAwsSPCommitment committedSpendPerHour(Double committedSpendPerHour)
@Nullable public Double getCommittedSpendPerHour()
public void setCommittedSpendPerHour(Double committedSpendPerHour)
public CommitmentsAwsSPCommitment expirationDate(String expirationDate)
@Nullable public String getExpirationDate()
public void setExpirationDate(String expirationDate)
public CommitmentsAwsSPCommitment purchaseOption(String purchaseOption)
public String getPurchaseOption()
public void setPurchaseOption(String purchaseOption)
public CommitmentsAwsSPCommitment savingsPlanType(String savingsPlanType)
public String getSavingsPlanType()
public void setSavingsPlanType(String savingsPlanType)
public CommitmentsAwsSPCommitment startDate(String startDate)
@Nullable public String getStartDate()
public void setStartDate(String startDate)
public CommitmentsAwsSPCommitment termLength(Double termLength)
@Nullable public Double getTermLength()
public void setTermLength(Double termLength)
public CommitmentsAwsSPCommitment utilization(Double utilization)
@Nullable public Double getUtilization()
public void setUtilization(Double utilization)
public CommitmentsAwsSPCommitment putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.