Package com.oracle.bmc.usage.model
Class UsageLimitSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.usage.model.UsageLimitSummary.Builder
 
- 
- Enclosing class:
- UsageLimitSummary
 
 public static class UsageLimitSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UsageLimitSummary.Builderaction(UsageLimitSummary.Action action)The action when usage limit is hitUsageLimitSummary.BuilderalertLevel(BigDecimal alertLevel)The alert level of the usage limitUsageLimitSummarybuild()UsageLimitSummary.Buildercopy(UsageLimitSummary model)UsageLimitSummary.BuildercreatedBy(String createdBy)The user who created the limitUsageLimitSummary.BuilderentitlementId(String entitlementId)Entitlement ID of the usage limitUsageLimitSummary.Builderid(String id)The usage limit IDUsageLimitSummary.BuilderlifecycleState(UsageLimitSummary.LifecycleState lifecycleState)The usage limit lifecycle state.UsageLimitSummary.Builderlimit(String limit)The limit valueUsageLimitSummary.BuilderlimitType(UsageLimitSummary.LimitType limitType)The limit type of the usage limitUsageLimitSummary.BuildermaxHardLimit(String maxHardLimit)The maximum hard limit set for the usage limitUsageLimitSummary.BuildermodifiedBy(String modifiedBy)The user who modified the limitUsageLimitSummary.BuilderresourceName(String resourceName)The resource for which the limit is definedUsageLimitSummary.BuilderserviceName(String serviceName)The service for which the limit is definedUsageLimitSummary.BuilderskuPartId(String skuPartId)The SKU for which the usage limit is setUsageLimitSummary.BuildertimeCreated(Date timeCreated)Time when the usage limit was createdUsageLimitSummary.BuildertimeModified(Date timeModified)Time when the usage limit was modifiedUsageLimitSummary.BuildervalueType(UsageLimitSummary.ValueType valueType)The value type of the usage limit
 
- 
- 
- 
Method Detail- 
timeCreatedpublic UsageLimitSummary.Builder timeCreated(Date timeCreated) Time when the usage limit was created- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
entitlementIdpublic UsageLimitSummary.Builder entitlementId(String entitlementId) Entitlement ID of the usage limit- Parameters:
- entitlementId- the value to set
- Returns:
- this builder
 
 - 
idpublic UsageLimitSummary.Builder id(String id) The usage limit ID- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
timeModifiedpublic UsageLimitSummary.Builder timeModified(Date timeModified) Time when the usage limit was modified- Parameters:
- timeModified- the value to set
- Returns:
- this builder
 
 - 
resourceNamepublic UsageLimitSummary.Builder resourceName(String resourceName) The resource for which the limit is defined- Parameters:
- resourceName- the value to set
- Returns:
- this builder
 
 - 
serviceNamepublic UsageLimitSummary.Builder serviceName(String serviceName) The service for which the limit is defined- Parameters:
- serviceName- the value to set
- Returns:
- this builder
 
 - 
limitpublic UsageLimitSummary.Builder limit(String limit) The limit value- Parameters:
- limit- the value to set
- Returns:
- this builder
 
 - 
createdBypublic UsageLimitSummary.Builder createdBy(String createdBy) The user who created the limit- Parameters:
- createdBy- the value to set
- Returns:
- this builder
 
 - 
modifiedBypublic UsageLimitSummary.Builder modifiedBy(String modifiedBy) The user who modified the limit- Parameters:
- modifiedBy- the value to set
- Returns:
- this builder
 
 - 
actionpublic UsageLimitSummary.Builder action(UsageLimitSummary.Action action) The action when usage limit is hit- Parameters:
- action- the value to set
- Returns:
- this builder
 
 - 
alertLevelpublic UsageLimitSummary.Builder alertLevel(BigDecimal alertLevel) The alert level of the usage limit- Parameters:
- alertLevel- the value to set
- Returns:
- this builder
 
 - 
limitTypepublic UsageLimitSummary.Builder limitType(UsageLimitSummary.LimitType limitType) The limit type of the usage limit- Parameters:
- limitType- the value to set
- Returns:
- this builder
 
 - 
valueTypepublic UsageLimitSummary.Builder valueType(UsageLimitSummary.ValueType valueType) The value type of the usage limit- Parameters:
- valueType- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic UsageLimitSummary.Builder lifecycleState(UsageLimitSummary.LifecycleState lifecycleState) The usage limit lifecycle state.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
maxHardLimitpublic UsageLimitSummary.Builder maxHardLimit(String maxHardLimit) The maximum hard limit set for the usage limit- Parameters:
- maxHardLimit- the value to set
- Returns:
- this builder
 
 - 
skuPartIdpublic UsageLimitSummary.Builder skuPartId(String skuPartId) The SKU for which the usage limit is set- Parameters:
- skuPartId- the value to set
- Returns:
- this builder
 
 - 
buildpublic UsageLimitSummary build() 
 - 
copypublic UsageLimitSummary.Builder copy(UsageLimitSummary model) 
 
- 
 
-