@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CommitmentsAzureComputeSPCommitment extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_BENEFIT_NAME |
static String |
JSON_PROPERTY_COMMITMENT_ID |
static String |
JSON_PROPERTY_COMMITTED_SPEND_PER_HOUR |
static String |
JSON_PROPERTY_EXPIRATION_DATE |
static String |
JSON_PROPERTY_START_DATE |
static String |
JSON_PROPERTY_TERM_LENGTH |
static String |
JSON_PROPERTY_UTILIZATION |
boolean |
unparsed |
| Constructor and Description |
|---|
CommitmentsAzureComputeSPCommitment() |
CommitmentsAzureComputeSPCommitment(String benefitName,
String commitmentId) |
| Modifier and Type | Method and Description |
|---|---|
CommitmentsAzureComputeSPCommitment |
benefitName(String benefitName) |
CommitmentsAzureComputeSPCommitment |
commitmentId(String commitmentId) |
CommitmentsAzureComputeSPCommitment |
committedSpendPerHour(Double committedSpendPerHour) |
boolean |
equals(Object o)
Return true if this CommitmentsAzureComputeSPCommitment object is equal to o.
|
CommitmentsAzureComputeSPCommitment |
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 |
getBenefitName()
The display name of the Azure Savings Plan.
|
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 |
getStartDate()
The start date of the commitment.
|
Double |
getTermLength()
The term length in years.
|
Double |
getUtilization()
The utilization percentage of the commitment.
|
int |
hashCode() |
CommitmentsAzureComputeSPCommitment |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setBenefitName(String benefitName) |
void |
setCommitmentId(String commitmentId) |
void |
setCommittedSpendPerHour(Double committedSpendPerHour) |
void |
setExpirationDate(String expirationDate) |
void |
setStartDate(String startDate) |
void |
setTermLength(Double termLength) |
void |
setUtilization(Double utilization) |
CommitmentsAzureComputeSPCommitment |
startDate(String startDate) |
CommitmentsAzureComputeSPCommitment |
termLength(Double termLength) |
String |
toString() |
CommitmentsAzureComputeSPCommitment |
utilization(Double utilization) |
public boolean unparsed
public static final String JSON_PROPERTY_BENEFIT_NAME
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_START_DATE
public static final String JSON_PROPERTY_TERM_LENGTH
public static final String JSON_PROPERTY_UTILIZATION
public CommitmentsAzureComputeSPCommitment benefitName(String benefitName)
public String getBenefitName()
public void setBenefitName(String benefitName)
public CommitmentsAzureComputeSPCommitment commitmentId(String commitmentId)
public String getCommitmentId()
public void setCommitmentId(String commitmentId)
public CommitmentsAzureComputeSPCommitment committedSpendPerHour(Double committedSpendPerHour)
@Nullable public Double getCommittedSpendPerHour()
public void setCommittedSpendPerHour(Double committedSpendPerHour)
public CommitmentsAzureComputeSPCommitment expirationDate(String expirationDate)
@Nullable public String getExpirationDate()
public void setExpirationDate(String expirationDate)
public CommitmentsAzureComputeSPCommitment startDate(String startDate)
@Nullable public String getStartDate()
public void setStartDate(String startDate)
public CommitmentsAzureComputeSPCommitment termLength(Double termLength)
@Nullable public Double getTermLength()
public void setTermLength(Double termLength)
public CommitmentsAzureComputeSPCommitment utilization(Double utilization)
@Nullable public Double getUtilization()
public void setUtilization(Double utilization)
public CommitmentsAzureComputeSPCommitment 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.