Package com.datadog.api.client.v2.model
Class CommitmentsAzureComputeSPCommitment
java.lang.Object
com.datadog.api.client.v2.model.CommitmentsAzureComputeSPCommitment
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CommitmentsAzureComputeSPCommitment
extends Object
Azure Compute Savings Plan commitment details.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCommitmentsAzureComputeSPCommitment(String benefitName, String commitmentId) -
Method Summary
Modifier and TypeMethodDescriptionbenefitName(String benefitName) commitmentId(String commitmentId) committedSpendPerHour(Double committedSpendPerHour) booleanReturn true if this CommitmentsAzureComputeSPCommitment object is equal to o.expirationDate(String expirationDate) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The display name of the Azure Savings Plan.The unique identifier of the Savings Plan.The hourly committed spend for the Savings Plan.The expiration date of the commitment.The start date of the commitment.The term length in years.The utilization percentage of the commitment.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetBenefitName(String benefitName) voidsetCommitmentId(String commitmentId) voidsetCommittedSpendPerHour(Double committedSpendPerHour) voidsetExpirationDate(String expirationDate) voidsetStartDate(String startDate) voidsetTermLength(Double termLength) voidsetUtilization(Double utilization) termLength(Double termLength) toString()utilization(Double utilization)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BENEFIT_NAME
- See Also:
-
JSON_PROPERTY_COMMITMENT_ID
- See Also:
-
JSON_PROPERTY_COMMITTED_SPEND_PER_HOUR
- See Also:
-
JSON_PROPERTY_EXPIRATION_DATE
- See Also:
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_TERM_LENGTH
- See Also:
-
JSON_PROPERTY_UTILIZATION
- See Also:
-
-
Constructor Details
-
CommitmentsAzureComputeSPCommitment
public CommitmentsAzureComputeSPCommitment() -
CommitmentsAzureComputeSPCommitment
-
-
Method Details
-
benefitName
-
getBenefitName
The display name of the Azure Savings Plan.- Returns:
- benefitName
-
setBenefitName
-
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
-
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:
- CommitmentsAzureComputeSPCommitment
-
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 CommitmentsAzureComputeSPCommitment object is equal to o. -
hashCode
public int hashCode() -
toString
-