Package com.datadog.api.client.v2.model
Class CommitmentsAwsSPCommitment
java.lang.Object
com.datadog.api.client.v2.model.CommitmentsAwsSPCommitment
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CommitmentsAwsSPCommitment
extends Object
AWS Savings Plan commitment details.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCommitmentsAwsSPCommitment(String commitmentId, String purchaseOption, String savingsPlanType) -
Method Summary
Modifier and TypeMethodDescriptioncommitmentId(String commitmentId) committedSpendPerHour(Double committedSpendPerHour) booleanReturn true if this CommitmentsAwsSPCommitment object is equal to o.expirationDate(String expirationDate) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The unique identifier of the Savings Plan.The hourly committed spend for the Savings Plan.The expiration date of the commitment.The payment option for the Savings Plan.The Savings Plan type.The start date of the commitment.The term length in years.The utilization percentage of the commitment.inthashCode()purchaseOption(String purchaseOption) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.savingsPlanType(String savingsPlanType) voidsetCommitmentId(String commitmentId) voidsetCommittedSpendPerHour(Double committedSpendPerHour) voidsetExpirationDate(String expirationDate) voidsetPurchaseOption(String purchaseOption) voidsetSavingsPlanType(String savingsPlanType) voidsetStartDate(String startDate) voidsetTermLength(Double termLength) voidsetUtilization(Double utilization) termLength(Double termLength) toString()utilization(Double utilization)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMMITMENT_ID
- See Also:
-
JSON_PROPERTY_COMMITTED_SPEND_PER_HOUR
- See Also:
-
JSON_PROPERTY_EXPIRATION_DATE
- See Also:
-
JSON_PROPERTY_PURCHASE_OPTION
- See Also:
-
JSON_PROPERTY_SAVINGS_PLAN_TYPE
- See Also:
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_TERM_LENGTH
- See Also:
-
JSON_PROPERTY_UTILIZATION
- See Also:
-
-
Constructor Details
-
CommitmentsAwsSPCommitment
public CommitmentsAwsSPCommitment() -
CommitmentsAwsSPCommitment
-
-
Method Details
-
commitmentId
-
getCommitmentId
The unique identifier of the Savings Plan.- Returns:
- commitmentId
-
setCommitmentId
-
committedSpendPerHour
-
getCommittedSpendPerHour
The hourly committed spend for the Savings Plan.- Returns:
- committedSpendPerHour
-
setCommittedSpendPerHour
-
expirationDate
-
getExpirationDate
The expiration date of the commitment.- Returns:
- expirationDate
-
setExpirationDate
-
purchaseOption
-
getPurchaseOption
The payment option for the Savings Plan.- Returns:
- purchaseOption
-
setPurchaseOption
-
savingsPlanType
-
getSavingsPlanType
The Savings Plan type.- Returns:
- savingsPlanType
-
setSavingsPlanType
-
startDate
-
getStartDate
The start date of the commitment.- Returns:
- startDate
-
setStartDate
-
termLength
-
getTermLength
The term length in years.- Returns:
- termLength
-
setTermLength
-
utilization
-
getUtilization
The utilization percentage of the commitment.- Returns:
- utilization
-
setUtilization
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- CommitmentsAwsSPCommitment
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this CommitmentsAwsSPCommitment object is equal to o. -
hashCode
public int hashCode() -
toString
-