Package com.oracle.bmc.osubusage.model
Enum ComputedUsage.Type
- java.lang.Object
- 
- java.lang.Enum<ComputedUsage.Type>
- 
- com.oracle.bmc.osubusage.model.ComputedUsage.Type
 
 
- 
- All Implemented Interfaces:
- BmcEnum,- Serializable,- Comparable<ComputedUsage.Type>
 - Enclosing class:
- ComputedUsage
 
 public static enum ComputedUsage.Type extends Enum<ComputedUsage.Type> implements BmcEnum Usage compute type in SPM.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description CommitCommitmentExpirationDelayedUsageCommitmentExpDelayedUsageInvoiceTimingDelayedUsagePostTerminationDoNotBillDonotBillUsagePostTerminationFundedAllocationMonthlyMinimumOnAccountCreditOveragePayAsYouGoPromotionServiceCreditUnknownEnumValueThis value is used if a service returns a value for this enum that is not recognized by this version of the SDK.Usage
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComputedUsage.Typecreate(String key)StringgetValue()static ComputedUsage.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static ComputedUsage.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
Promotionpublic static final ComputedUsage.Type Promotion 
 - 
DoNotBillpublic static final ComputedUsage.Type DoNotBill 
 - 
Usagepublic static final ComputedUsage.Type Usage 
 - 
Commitpublic static final ComputedUsage.Type Commit 
 - 
Overagepublic static final ComputedUsage.Type Overage 
 - 
PayAsYouGopublic static final ComputedUsage.Type PayAsYouGo 
 - 
MonthlyMinimumpublic static final ComputedUsage.Type MonthlyMinimum 
 - 
DelayedUsageInvoiceTimingpublic static final ComputedUsage.Type DelayedUsageInvoiceTiming 
 - 
DelayedUsageCommitmentExppublic static final ComputedUsage.Type DelayedUsageCommitmentExp 
 - 
OnAccountCreditpublic static final ComputedUsage.Type OnAccountCredit 
 - 
ServiceCreditpublic static final ComputedUsage.Type ServiceCredit 
 - 
CommitmentExpirationpublic static final ComputedUsage.Type CommitmentExpiration 
 - 
FundedAllocationpublic static final ComputedUsage.Type FundedAllocation 
 - 
DonotBillUsagePostTerminationpublic static final ComputedUsage.Type DonotBillUsagePostTermination 
 - 
DelayedUsagePostTerminationpublic static final ComputedUsage.Type DelayedUsagePostTermination 
 - 
UnknownEnumValuepublic static final ComputedUsage.Type UnknownEnumValue This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
 
- 
 - 
Method Detail- 
valuespublic static ComputedUsage.Type[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ComputedUsage.Type c : ComputedUsage.Type.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static ComputedUsage.Type valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
createpublic static ComputedUsage.Type create(String key) 
 
- 
 
-