Package com.datadog.api.client.v2.model
Class CommitmentsAzureVMRICommitment
java.lang.Object
com.datadog.api.client.v2.model.CommitmentsAzureVMRICommitment
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CommitmentsAzureVMRICommitment
extends Object
Azure Virtual Machine Reserved Instance commitment details.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCommitmentsAzureVMRICommitment(String benefitName, String commitmentId, String instanceType, String meterSubCategory, String region, CommitmentsAzureVMRIStatus status) -
Method Summary
Modifier and TypeMethodDescriptionbenefitName(String benefitName) commitmentId(String commitmentId) booleanReturn true if this CommitmentsAzureVMRICommitment 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 reservation.The unique identifier of the Reserved Instance.The expiration date of the commitment.The Azure VM instance type.The Azure meter sub-category for the reservation.The Azure region of the Reserved Instance.The start date of the commitment.Status of an Azure VM Reserved Instance.The term length in years.The utilization percentage of the commitment.inthashCode()instanceType(String instanceType) meterSubCategory(String meterSubCategory) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetBenefitName(String benefitName) voidsetCommitmentId(String commitmentId) voidsetExpirationDate(String expirationDate) voidsetInstanceType(String instanceType) voidsetMeterSubCategory(String meterSubCategory) voidvoidsetStartDate(String startDate) voidsetStatus(CommitmentsAzureVMRIStatus status) voidsetTermLength(Double termLength) voidsetUtilization(Double utilization) status(CommitmentsAzureVMRIStatus status) 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_EXPIRATION_DATE
- See Also:
-
JSON_PROPERTY_INSTANCE_TYPE
- See Also:
-
JSON_PROPERTY_METER_SUB_CATEGORY
- See Also:
-
JSON_PROPERTY_REGION
- See Also:
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TERM_LENGTH
- See Also:
-
JSON_PROPERTY_UTILIZATION
- See Also:
-
-
Constructor Details
-
CommitmentsAzureVMRICommitment
public CommitmentsAzureVMRICommitment() -
CommitmentsAzureVMRICommitment
-
-
Method Details
-
benefitName
-
getBenefitName
The display name of the Azure reservation.- Returns:
- benefitName
-
setBenefitName
-
commitmentId
-
getCommitmentId
The unique identifier of the Reserved Instance.- Returns:
- commitmentId
-
setCommitmentId
-
expirationDate
-
getExpirationDate
The expiration date of the commitment.- Returns:
- expirationDate
-
setExpirationDate
-
instanceType
-
getInstanceType
The Azure VM instance type.- Returns:
- instanceType
-
setInstanceType
-
meterSubCategory
-
getMeterSubCategory
The Azure meter sub-category for the reservation.- Returns:
- meterSubCategory
-
setMeterSubCategory
-
region
-
getRegion
The Azure region of the Reserved Instance.- Returns:
- region
-
setRegion
-
startDate
-
getStartDate
The start date of the commitment.- Returns:
- startDate
-
setStartDate
-
status
-
getStatus
Status of an Azure VM Reserved Instance.- Returns:
- status
-
setStatus
-
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:
- CommitmentsAzureVMRICommitment
-
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 CommitmentsAzureVMRICommitment object is equal to o. -
hashCode
public int hashCode() -
toString
-