Package com.oracle.bmc.datascience.model
Class MlApplication.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.MlApplication.Builder
-
- Enclosing class:
- MlApplication
public static class MlApplication.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MlApplication
build()
MlApplication.Builder
compartmentId(String compartmentId)
The OCID of the compartment where the MlApplication is created.MlApplication.Builder
copy(MlApplication model)
MlApplication.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.MlApplication.Builder
description(String description)
Optional description of the ML ApplicationMlApplication.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.MlApplication.Builder
id(String id)
The OCID of the MlApplication.MlApplication.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.MlApplication.Builder
lifecycleState(MlApplication.LifecycleState lifecycleState)
The current state of the MlApplication.MlApplication.Builder
name(String name)
The name of MlApplication.MlApplication.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.MlApplication.Builder
timeCreated(Date timeCreated)
Creation time of MlApplication in the format defined by RFC 3339.MlApplication.Builder
timeUpdated(Date timeUpdated)
Time of last MlApplication update in the format defined by RFC 3339.
-
-
-
Method Detail
-
id
public MlApplication.Builder id(String id)
The OCID of the MlApplication.Unique identifier that is immutable after creation.
- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public MlApplication.Builder name(String name)
The name of MlApplication.It is unique in a given tenancy.
- Parameters:
name
- the value to set- Returns:
- this builder
-
description
public MlApplication.Builder description(String description)
Optional description of the ML Application- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public MlApplication.Builder compartmentId(String compartmentId)
The OCID of the compartment where the MlApplication is created.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public MlApplication.Builder timeCreated(Date timeCreated)
Creation time of MlApplication in the format defined by RFC 3339.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public MlApplication.Builder timeUpdated(Date timeUpdated)
Time of last MlApplication update in the format defined by RFC 3339.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public MlApplication.Builder lifecycleState(MlApplication.LifecycleState lifecycleState)
The current state of the MlApplication.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public MlApplication.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public MlApplication.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 MlApplication.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
-
systemTags
public MlApplication.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public MlApplication build()
-
copy
public MlApplication.Builder copy(MlApplication model)
-
-