Class RoutingProfile.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.model.RoutingProfile.Builder
-
- Enclosing class:
- RoutingProfile
public static class RoutingProfile.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoutingProfilebuild()RoutingProfile.BuildercompartmentId(String compartmentId)The OCID of the compartment in which the routing profile lives.RoutingProfile.Buildercopy(RoutingProfile model)RoutingProfile.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.RoutingProfile.Builderdescription(String description)An optional description of the routing profile.RoutingProfile.BuilderdisplayName(String displayName)A user-friendly name.RoutingProfile.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.RoutingProfile.Builderid(String id)An OCID that uniquely identifies this routing profile resource.RoutingProfile.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state of the routing profile in more detail that can provide actionable information.RoutingProfile.BuilderlifecycleState(RoutingProfile.LifecycleState lifecycleState)The current state of the routing profile.RoutingProfile.BuildermodelRoutingPolicy(ModelRoutingPolicy modelRoutingPolicy)RoutingProfile.BuilderpreviousState(PreviousRoutingProfileState previousState)RoutingProfile.BuilderregionRoutingPolicy(RegionRoutingPolicy regionRoutingPolicy)RoutingProfile.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.RoutingProfile.BuildertimeCreated(Date timeCreated)The date and time that the routing profile was created in the format of an RFC3339 datetime string.RoutingProfile.BuildertimeUpdated(Date timeUpdated)The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
-
-
-
Method Detail
-
id
public RoutingProfile.Builder id(String id)
An OCID that uniquely identifies this routing profile resource.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public RoutingProfile.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public RoutingProfile.Builder description(String description)
An optional description of the routing profile.- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public RoutingProfile.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the routing profile lives.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
timeCreated
public RoutingProfile.Builder timeCreated(Date timeCreated)
The date and time that the routing profile was created in the format of an RFC3339 datetime string.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public RoutingProfile.Builder timeUpdated(Date timeUpdated)
The date and time that the routing profile was updated in the format of an RFC3339 datetime string.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public RoutingProfile.Builder lifecycleState(RoutingProfile.LifecycleState lifecycleState)
The current state of the routing profile.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public RoutingProfile.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state of the routing profile in more detail that can provide actionable information.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
regionRoutingPolicy
public RoutingProfile.Builder regionRoutingPolicy(RegionRoutingPolicy regionRoutingPolicy)
-
modelRoutingPolicy
public RoutingProfile.Builder modelRoutingPolicy(ModelRoutingPolicy modelRoutingPolicy)
-
previousState
public RoutingProfile.Builder previousState(PreviousRoutingProfileState previousState)
-
freeformTags
public RoutingProfile.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 RoutingProfile.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
-
systemTags
public RoutingProfile.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public RoutingProfile build()
-
copy
public RoutingProfile.Builder copy(RoutingProfile model)
-
-