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 Details

  • Constructor Details

    • CommitmentsAwsSPCommitment

      public CommitmentsAwsSPCommitment()
    • CommitmentsAwsSPCommitment

      public CommitmentsAwsSPCommitment(String commitmentId, String purchaseOption, String savingsPlanType)
  • Method Details

    • commitmentId

      public CommitmentsAwsSPCommitment commitmentId(String commitmentId)
    • getCommitmentId

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

      public void setCommitmentId(String commitmentId)
    • committedSpendPerHour

      public CommitmentsAwsSPCommitment 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 CommitmentsAwsSPCommitment expirationDate(String expirationDate)
    • getExpirationDate

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

      public void setExpirationDate(String expirationDate)
    • purchaseOption

      public CommitmentsAwsSPCommitment purchaseOption(String purchaseOption)
    • getPurchaseOption

      public String getPurchaseOption()
      The payment option for the Savings Plan.
      Returns:
      purchaseOption
    • setPurchaseOption

      public void setPurchaseOption(String purchaseOption)
    • savingsPlanType

      public CommitmentsAwsSPCommitment savingsPlanType(String savingsPlanType)
    • getSavingsPlanType

      public String getSavingsPlanType()
      The Savings Plan type.
      Returns:
      savingsPlanType
    • setSavingsPlanType

      public void setSavingsPlanType(String savingsPlanType)
    • startDate

      public CommitmentsAwsSPCommitment startDate(String startDate)
    • getStartDate

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

      public void setStartDate(String startDate)
    • termLength

      public CommitmentsAwsSPCommitment termLength(Double termLength)
    • getTermLength

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

      public void setTermLength(Double termLength)
    • utilization

      public CommitmentsAwsSPCommitment utilization(Double utilization)
    • getUtilization

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

      public void setUtilization(Double utilization)
    • putAdditionalProperty

      public CommitmentsAwsSPCommitment 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:
      CommitmentsAwsSPCommitment
    • 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 CommitmentsAwsSPCommitment 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