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 Details

  • Constructor Details

    • CommitmentsAzureComputeSPCommitment

      public CommitmentsAzureComputeSPCommitment()
    • CommitmentsAzureComputeSPCommitment

      public CommitmentsAzureComputeSPCommitment(String benefitName, String commitmentId)
  • Method Details

    • benefitName

      public CommitmentsAzureComputeSPCommitment benefitName(String benefitName)
    • getBenefitName

      public String getBenefitName()
      The display name of the Azure Savings Plan.
      Returns:
      benefitName
    • setBenefitName

      public void setBenefitName(String benefitName)
    • commitmentId

      public CommitmentsAzureComputeSPCommitment commitmentId(String commitmentId)
    • getCommitmentId

      public String getCommitmentId()
      The unique identifier of the Savings Plan.
      Returns:
      commitmentId
    • setCommitmentId

      public void setCommitmentId(String commitmentId)
    • committedSpendPerHour

      public CommitmentsAzureComputeSPCommitment committedSpendPerHour(Double committedSpendPerHour)
    • getCommittedSpendPerHour

      @Nullable public Double getCommittedSpendPerHour()
      The hourly committed spend for the Savings Plan.
      Returns:
      committedSpendPerHour
    • setCommittedSpendPerHour

      public void setCommittedSpendPerHour(Double committedSpendPerHour)
    • expirationDate

      public CommitmentsAzureComputeSPCommitment expirationDate(String expirationDate)
    • getExpirationDate

      @Nullable public String getExpirationDate()
      The expiration date of the commitment.
      Returns:
      expirationDate
    • setExpirationDate

      public void setExpirationDate(String expirationDate)
    • startDate

      public CommitmentsAzureComputeSPCommitment startDate(String startDate)
    • getStartDate

      @Nullable public String getStartDate()
      The start date of the commitment.
      Returns:
      startDate
    • setStartDate

      public void setStartDate(String startDate)
    • termLength

      public CommitmentsAzureComputeSPCommitment termLength(Double termLength)
    • getTermLength

      @Nullable public Double getTermLength()
      The term length in years.
      Returns:
      termLength
    • setTermLength

      public void setTermLength(Double termLength)
    • utilization

      public CommitmentsAzureComputeSPCommitment utilization(Double utilization)
    • getUtilization

      @Nullable public Double getUtilization()
      The utilization percentage of the commitment.
      Returns:
      utilization
    • setUtilization

      public void setUtilization(Double utilization)
    • putAdditionalProperty

      public CommitmentsAzureComputeSPCommitment putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      CommitmentsAzureComputeSPCommitment
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this CommitmentsAzureComputeSPCommitment object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object