public static class CreateQuotaDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public CreateQuotaDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the resource this quota applies to.
compartmentId
- the value to setpublic CreateQuotaDetails.Builder description(String description)
The description you assign to the quota.
description
- the value to setpublic 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.
name
- the value to setpublic CreateQuotaDetails.Builder statements(List<String> statements)
An array of quota statements written in the declarative quota statement language.
statements
- the value to setpublic CreateQuotaDetails.Builder locks(List<AddLockDetails> locks)
Locks associated with this resource.
locks
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic CreateQuotaDetails build()
public CreateQuotaDetails.Builder copy(CreateQuotaDetails model)
Copyright © 2016–2024. All rights reserved.