Package com.oracle.bmc.limits.model
Class QuotaSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.limits.model.QuotaSummary.Builder
 
- 
- Enclosing class:
- QuotaSummary
 
 public static class QuotaSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description QuotaSummarybuild()QuotaSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the resource this quota applies to.QuotaSummary.Buildercopy(QuotaSummary model)QuotaSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.QuotaSummary.Builderdescription(String description)The description you assign to the quota.QuotaSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.QuotaSummary.Builderid(String id)The OCID of the quota.QuotaSummary.BuilderlifecycleState(QuotaSummary.LifecycleState lifecycleState)The quota’s current state.QuotaSummary.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.QuotaSummary.Buildername(String name)The name you assign to the quota during creation.QuotaSummary.BuildertimeCreated(Date timeCreated)Date and time the quota was created, in the format defined by RFC 3339.
 
- 
- 
- 
Method Detail- 
idpublic QuotaSummary.Builder id(String id) The OCID of the quota.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic QuotaSummary.Builder compartmentId(String compartmentId) The OCID of the compartment containing the resource this quota applies to.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
namepublic QuotaSummary.Builder name(String name) The name you assign to the quota during creation.The name must be unique across all quotas in the tenancy and cannot be changed. - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic QuotaSummary.Builder description(String description) The description you assign to the quota.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic QuotaSummary.Builder timeCreated(Date timeCreated) Date and time the quota was created, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
lockspublic QuotaSummary.Builder locks(List<ResourceLock> locks) Locks associated with this resource.- Parameters:
- locks- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic QuotaSummary.Builder lifecycleState(QuotaSummary.LifecycleState lifecycleState) The quota’s current state.After creating a quota, make sure its lifecycleState is set to ACTIVE before using it. - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic QuotaSummary.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic QuotaSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic QuotaSummary build() 
 - 
copypublic QuotaSummary.Builder copy(QuotaSummary model) 
 
- 
 
-