Package com.datadog.api.client.v2.model
Class CommitmentsAwsEC2RICommitment
java.lang.Object
com.datadog.api.client.v2.model.CommitmentsAwsEC2RICommitment
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CommitmentsAwsEC2RICommitment
extends Object
AWS EC2 Reserved Instance commitment details.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) commitmentId(String commitmentId) booleanReturn true if this CommitmentsAwsEC2RICommitment object is equal to o.expirationDate(String expirationDate) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The availability zone of the reservation.The unique identifier of the Reserved Instance.The expiration date of the commitment.The EC2 instance type.The number of Normalized Capacity Units.The number of reserved instances.The offering class of the Reserved Instance.The operating system of the Reserved Instance.The payment option for the Reserved Instance.The AWS region of the Reserved Instance.The start date of the commitment.The term length in years.The utilization percentage of the commitment.inthashCode()instanceType(String instanceType) numberOfNfus(Double numberOfNfus) numberOfReservations(Double numberOfReservations) offeringClass(String offeringClass) operatingSystem(String operatingSystem) purchaseOption(String purchaseOption) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAvailabilityZone(String availabilityZone) voidsetCommitmentId(String commitmentId) voidsetExpirationDate(String expirationDate) voidsetInstanceType(String instanceType) voidsetNumberOfNfus(Double numberOfNfus) voidsetNumberOfReservations(Double numberOfReservations) voidsetOfferingClass(String offeringClass) voidsetOperatingSystem(String operatingSystem) voidsetPurchaseOption(String purchaseOption) voidvoidsetStartDate(String startDate) voidsetTermLength(Double termLength) voidsetUtilization(Double utilization) termLength(Double termLength) toString()utilization(Double utilization)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AVAILABILITY_ZONE
- See Also:
-
JSON_PROPERTY_COMMITMENT_ID
- See Also:
-
JSON_PROPERTY_EXPIRATION_DATE
- See Also:
-
JSON_PROPERTY_INSTANCE_TYPE
- See Also:
-
JSON_PROPERTY_NUMBER_OF_NFUS
- See Also:
-
JSON_PROPERTY_NUMBER_OF_RESERVATIONS
- See Also:
-
JSON_PROPERTY_OFFERING_CLASS
- See Also:
-
JSON_PROPERTY_OPERATING_SYSTEM
- See Also:
-
JSON_PROPERTY_PURCHASE_OPTION
- See Also:
-
JSON_PROPERTY_REGION
- See Also:
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_TERM_LENGTH
- See Also:
-
JSON_PROPERTY_UTILIZATION
- See Also:
-
-
Constructor Details
-
CommitmentsAwsEC2RICommitment
public CommitmentsAwsEC2RICommitment() -
CommitmentsAwsEC2RICommitment
-
-
Method Details
-
availabilityZone
-
getAvailabilityZone
The availability zone of the reservation.- Returns:
- availabilityZone
-
setAvailabilityZone
-
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 EC2 instance type.- Returns:
- instanceType
-
setInstanceType
-
numberOfNfus
-
getNumberOfNfus
The number of Normalized Capacity Units.- Returns:
- numberOfNfus
-
setNumberOfNfus
-
numberOfReservations
-
getNumberOfReservations
The number of reserved instances.- Returns:
- numberOfReservations
-
setNumberOfReservations
-
offeringClass
-
getOfferingClass
The offering class of the Reserved Instance.- Returns:
- offeringClass
-
setOfferingClass
-
operatingSystem
-
getOperatingSystem
The operating system of the Reserved Instance.- Returns:
- operatingSystem
-
setOperatingSystem
-
purchaseOption
-
getPurchaseOption
The payment option for the Reserved Instance.- Returns:
- purchaseOption
-
setPurchaseOption
-
region
-
getRegion
The AWS region of the Reserved Instance.- Returns:
- region
-
setRegion
-
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:
- CommitmentsAwsEC2RICommitment
-
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 CommitmentsAwsEC2RICommitment object is equal to o. -
hashCode
public int hashCode() -
toString
-