Class MlApplicationImplementation.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.MlApplicationImplementation.Builder
-
- Enclosing class:
- MlApplicationImplementation
public static class MlApplicationImplementation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MlApplicationImplementation.Builder
allowedMigrationDestinations(List<String> allowedMigrationDestinations)
List of ML Application Implementation OCIDs for which migration from this implementation is allowed.MlApplicationImplementation.Builder
applicationComponents(List<ApplicationComponent> applicationComponents)
List of application components (OCI resources shared for all MlApplicationInstances).MlApplicationImplementation
build()
MlApplicationImplementation.Builder
compartmentId(String compartmentId)
The OCID of the compartment where ML Application Implementation is created.MlApplicationImplementation.Builder
configurationSchema(List<ConfigurationPropertySchema> configurationSchema)
Schema of configuration which needs to be provided for each ML Application Instance.MlApplicationImplementation.Builder
copy(MlApplicationImplementation model)
MlApplicationImplementation.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.MlApplicationImplementation.Builder
description(String description)
Description of ML Application Implementation defined in ML Application package descriptorMlApplicationImplementation.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.MlApplicationImplementation.Builder
id(String id)
The OCID of the MlApplicationImplementation.MlApplicationImplementation.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.MlApplicationImplementation.Builder
lifecycleState(MlApplicationImplementation.LifecycleState lifecycleState)
The current state of the MlApplicationImplementation.MlApplicationImplementation.Builder
logging(ImplementationLogging logging)
MlApplicationImplementation.Builder
mlApplicationId(String mlApplicationId)
The OCID of the ML Application implemented by this ML Application Implementation.MlApplicationImplementation.Builder
mlApplicationName(String mlApplicationName)
The name of ML Application (based on mlApplicationId)MlApplicationImplementation.Builder
mlApplicationPackageArguments(MlApplicationPackageArguments mlApplicationPackageArguments)
MlApplicationImplementation.Builder
name(String name)
ML Application Implementation name which is unique for given ML Application.MlApplicationImplementation.Builder
packageVersion(String packageVersion)
The version of ML Application Package (e.g.MlApplicationImplementation.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.MlApplicationImplementation.Builder
timeCreated(Date timeCreated)
Creation time of MlApplicationImplementation creation in the format defined by RFC 3339.MlApplicationImplementation.Builder
timeUpdated(Date timeUpdated)
Time of last MlApplicationImplementation update in the format defined by RFC 3339.
-
-
-
Method Detail
-
id
public MlApplicationImplementation.Builder id(String id)
The OCID of the MlApplicationImplementation.Unique identifier that is immutable after creation.
- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public MlApplicationImplementation.Builder name(String name)
ML Application Implementation name which is unique for given ML Application.- Parameters:
name
- the value to set- Returns:
- this builder
-
description
public MlApplicationImplementation.Builder description(String description)
Description of ML Application Implementation defined in ML Application package descriptor- Parameters:
description
- the value to set- Returns:
- this builder
-
mlApplicationId
public MlApplicationImplementation.Builder mlApplicationId(String mlApplicationId)
The OCID of the ML Application implemented by this ML Application Implementation.- Parameters:
mlApplicationId
- the value to set- Returns:
- this builder
-
mlApplicationName
public MlApplicationImplementation.Builder mlApplicationName(String mlApplicationName)
The name of ML Application (based on mlApplicationId)- Parameters:
mlApplicationName
- the value to set- Returns:
- this builder
-
packageVersion
public MlApplicationImplementation.Builder packageVersion(String packageVersion)
The version of ML Application Package (e.g.“1.2” or “2.0.4”) defined in ML Application package descriptor. Value is not mandatory only for CREATING state otherwise it must be always presented.
- Parameters:
packageVersion
- the value to set- Returns:
- this builder
-
applicationComponents
public MlApplicationImplementation.Builder applicationComponents(List<ApplicationComponent> applicationComponents)
List of application components (OCI resources shared for all MlApplicationInstances).These have been created automatically based on their definitions in the ML Application package.
- Parameters:
applicationComponents
- the value to set- Returns:
- this builder
-
configurationSchema
public MlApplicationImplementation.Builder configurationSchema(List<ConfigurationPropertySchema> configurationSchema)
Schema of configuration which needs to be provided for each ML Application Instance.It is defined in the ML Application package descriptor.
- Parameters:
configurationSchema
- the value to set- Returns:
- this builder
-
mlApplicationPackageArguments
public MlApplicationImplementation.Builder mlApplicationPackageArguments(MlApplicationPackageArguments mlApplicationPackageArguments)
-
allowedMigrationDestinations
public MlApplicationImplementation.Builder allowedMigrationDestinations(List<String> allowedMigrationDestinations)
List of ML Application Implementation OCIDs for which migration from this implementation is allowed.Migration means that if consumers change implementation for their instances to implementation with OCID from this list, instance components will be updated in place otherwise new instance components are created based on the new implementation and old instance components are removed.
- Parameters:
allowedMigrationDestinations
- the value to set- Returns:
- this builder
-
logging
public MlApplicationImplementation.Builder logging(ImplementationLogging logging)
-
compartmentId
public MlApplicationImplementation.Builder compartmentId(String compartmentId)
The OCID of the compartment where ML Application Implementation is created.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public MlApplicationImplementation.Builder timeCreated(Date timeCreated)
Creation time of MlApplicationImplementation creation in the format defined by RFC 3339.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public MlApplicationImplementation.Builder timeUpdated(Date timeUpdated)
Time of last MlApplicationImplementation update in the format defined by RFC 3339.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public MlApplicationImplementation.Builder lifecycleState(MlApplicationImplementation.LifecycleState lifecycleState)
The current state of the MlApplicationImplementation.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public MlApplicationImplementation.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 MlApplicationImplementation.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 MlApplicationImplementation.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 MlApplicationImplementation.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 MlApplicationImplementation build()
-
copy
public MlApplicationImplementation.Builder copy(MlApplicationImplementation model)
-
-