Package com.oracle.bmc.datascience.model
Class ModelDeployment.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.ModelDeployment.Builder
-
- Enclosing class:
- ModelDeployment
public static class ModelDeployment.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelDeploymentbuild()ModelDeployment.BuildercategoryLogDetails(CategoryLogDetails categoryLogDetails)ModelDeployment.BuildercompartmentId(String compartmentId)The OCID of the model deployment’s compartment.ModelDeployment.Buildercopy(ModelDeployment model)ModelDeployment.BuildercreatedBy(String createdBy)The OCID of the user who created the model deployment.ModelDeployment.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ModelDeployment.Builderdescription(String description)A short description of the model deployment.ModelDeployment.BuilderdisplayName(String displayName)A user-friendly display name for the resource.ModelDeployment.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ModelDeployment.Builderid(String id)The OCID of the model deployment.ModelDeployment.BuilderlifecycleDetails(String lifecycleDetails)Details about the state of the model deployment.ModelDeployment.BuilderlifecycleState(ModelDeploymentLifecycleState lifecycleState)The state of the model deployment.ModelDeployment.BuildermodelDeploymentConfigurationDetails(ModelDeploymentConfigurationDetails modelDeploymentConfigurationDetails)ModelDeployment.BuildermodelDeploymentSystemData(ModelDeploymentSystemData modelDeploymentSystemData)ModelDeployment.BuildermodelDeploymentUrl(String modelDeploymentUrl)The URL to interact with the model deployment.ModelDeployment.BuilderprojectId(String projectId)The OCID of the project associated with the model deployment.ModelDeployment.BuildertimeCreated(Date timeCreated)The date and time the resource was created, in the timestamp format defined by RFC3339.
-
-
-
Method Detail
-
id
public ModelDeployment.Builder id(String id)
The OCID of the model deployment.- Parameters:
id- the value to set- Returns:
- this builder
-
timeCreated
public ModelDeployment.Builder timeCreated(Date timeCreated)
The date and time the resource was created, in the timestamp format defined by RFC3339.Example: 2019-08-25T21:10:29.41Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
displayName
public ModelDeployment.Builder displayName(String displayName)
A user-friendly display name for the resource.Does not have to be unique, and can be modified. Avoid entering confidential information. Example: My ModelDeployment
- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public ModelDeployment.Builder description(String description)
A short description of the model deployment.- Parameters:
description- the value to set- Returns:
- this builder
-
projectId
public ModelDeployment.Builder projectId(String projectId)
The OCID of the project associated with the model deployment.- Parameters:
projectId- the value to set- Returns:
- this builder
-
createdBy
public ModelDeployment.Builder createdBy(String createdBy)
The OCID of the user who created the model deployment.- Parameters:
createdBy- the value to set- Returns:
- this builder
-
compartmentId
public ModelDeployment.Builder compartmentId(String compartmentId)
The OCID of the model deployment’s compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
modelDeploymentConfigurationDetails
public ModelDeployment.Builder modelDeploymentConfigurationDetails(ModelDeploymentConfigurationDetails modelDeploymentConfigurationDetails)
-
categoryLogDetails
public ModelDeployment.Builder categoryLogDetails(CategoryLogDetails categoryLogDetails)
-
modelDeploymentUrl
public ModelDeployment.Builder modelDeploymentUrl(String modelDeploymentUrl)
The URL to interact with the model deployment.- Parameters:
modelDeploymentUrl- the value to set- Returns:
- this builder
-
modelDeploymentSystemData
public ModelDeployment.Builder modelDeploymentSystemData(ModelDeploymentSystemData modelDeploymentSystemData)
-
lifecycleState
public ModelDeployment.Builder lifecycleState(ModelDeploymentLifecycleState lifecycleState)
The state of the model deployment.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public ModelDeployment.Builder lifecycleDetails(String lifecycleDetails)
Details about the state of the model deployment.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public ModelDeployment.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. See Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public ModelDeployment.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public ModelDeployment build()
-
copy
public ModelDeployment.Builder copy(ModelDeployment model)
-
-