Package com.oracle.bmc.limits.model
Class CreateQuotaDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.limits.model.CreateQuotaDetails.Builder
-
- Enclosing class:
- CreateQuotaDetails
public static class CreateQuotaDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateQuotaDetails
build()
CreateQuotaDetails.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the resource this quota applies to.CreateQuotaDetails.Builder
copy(CreateQuotaDetails model)
CreateQuotaDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CreateQuotaDetails.Builder
description(String description)
The description you assign to the quota.CreateQuotaDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.CreateQuotaDetails.Builder
locks(List<AddLockDetails> locks)
Locks associated with this resource.CreateQuotaDetails.Builder
name(String name)
The name you assign to the quota during creation.CreateQuotaDetails.Builder
statements(List<String> statements)
An array of quota statements written in the declarative quota statement language.
-
-
-
Method Detail
-
compartmentId
public CreateQuotaDetails.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
-
description
public CreateQuotaDetails.Builder description(String description)
The description you assign to the quota.- Parameters:
description
- the value to set- Returns:
- this builder
-
name
public CreateQuotaDetails.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
-
statements
public CreateQuotaDetails.Builder statements(List<String> statements)
An array of quota statements written in the declarative quota statement language.- Parameters:
statements
- the value to set- Returns:
- this builder
-
locks
public CreateQuotaDetails.Builder locks(List<AddLockDetails> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
freeformTags
public CreateQuotaDetails.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
-
definedTags
public CreateQuotaDetails.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
-
build
public CreateQuotaDetails build()
-
copy
public CreateQuotaDetails.Builder copy(CreateQuotaDetails model)
-
-