Class CreateProvisionedCapacityDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiagent.model.CreateProvisionedCapacityDetails.Builder
-
- Enclosing class:
- CreateProvisionedCapacityDetails
public static class CreateProvisionedCapacityDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateProvisionedCapacityDetails.Builder displayName(String displayName)
The name of the provisioned capacity.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public CreateProvisionedCapacityDetails.Builder description(String description)
An optional description of the provisioned capacity.- Parameters:
description- the value to set- Returns:
- this builder
-
numberOfUnits
public CreateProvisionedCapacityDetails.Builder numberOfUnits(Integer numberOfUnits)
Provisioned Capacity Unit corresponds to the amount of characters processed per minute.- Parameters:
numberOfUnits- the value to set- Returns:
- this builder
-
compartmentId
public CreateProvisionedCapacityDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment to create the endpoint in.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
freeformTags
public CreateProvisionedCapacityDetails.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 CreateProvisionedCapacityDetails.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 CreateProvisionedCapacityDetails build()
-
copy
public CreateProvisionedCapacityDetails.Builder copy(CreateProvisionedCapacityDetails model)
-
-