Class MlApplicationImplementationSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.MlApplicationImplementationSummary.Builder
-
- Enclosing class:
- MlApplicationImplementationSummary
public static class MlApplicationImplementationSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MlApplicationImplementationSummary.BuilderallowedMigrationDestinations(List<String> allowedMigrationDestinations)List of ML Application Implementation OCIDs for which migration from this implementation is allowed.MlApplicationImplementationSummarybuild()MlApplicationImplementationSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment where the MlApplicationImplementation is created.MlApplicationImplementationSummary.BuilderconfigurationSchema(List<ConfigurationPropertySchema> configurationSchema)Schema of configuration which needs to be provided for each ML Application Instance.MlApplicationImplementationSummary.Buildercopy(MlApplicationImplementationSummary model)MlApplicationImplementationSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.MlApplicationImplementationSummary.Builderdescription(String description)Description of ML Application Implementation defined in ML Application package descriptorMlApplicationImplementationSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.MlApplicationImplementationSummary.Builderid(String id)The OCID of the MlApplicationImplementation.MlApplicationImplementationSummary.BuilderlifecycleState(MlApplicationImplementation.LifecycleState lifecycleState)The current state of the ML Application Implementation.MlApplicationImplementationSummary.BuildermlApplicationId(String mlApplicationId)The OCID of the ML Application implemented by this ML Application Implementation.MlApplicationImplementationSummary.BuildermlApplicationName(String mlApplicationName)The name of ML Application (based on mlApplicationId).MlApplicationImplementationSummary.Buildername(String name)ML Application Implementation name which is unique for given ML Application.MlApplicationImplementationSummary.BuilderpackageVersion(String packageVersion)The version of ML Application Package (e.g.MlApplicationImplementationSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.MlApplicationImplementationSummary.BuildertimeCreated(Date timeCreated)The time the MlApplicationImplementation was created.
-
-
-
Method Detail
-
id
public MlApplicationImplementationSummary.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 MlApplicationImplementationSummary.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 MlApplicationImplementationSummary.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 MlApplicationImplementationSummary.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 MlApplicationImplementationSummary.Builder mlApplicationName(String mlApplicationName)
The name of ML Application (based on mlApplicationId).- Parameters:
mlApplicationName- the value to set- Returns:
- this builder
-
packageVersion
public MlApplicationImplementationSummary.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
-
configurationSchema
public MlApplicationImplementationSummary.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
-
allowedMigrationDestinations
public MlApplicationImplementationSummary.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
-
compartmentId
public MlApplicationImplementationSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment where the MlApplicationImplementation is created.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
timeCreated
public MlApplicationImplementationSummary.Builder timeCreated(Date timeCreated)
The time the MlApplicationImplementation was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
lifecycleState
public MlApplicationImplementationSummary.Builder lifecycleState(MlApplicationImplementation.LifecycleState lifecycleState)
The current state of the ML Application Implementation.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
freeformTags
public MlApplicationImplementationSummary.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 MlApplicationImplementationSummary.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 MlApplicationImplementationSummary.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 MlApplicationImplementationSummary build()
-
copy
public MlApplicationImplementationSummary.Builder copy(MlApplicationImplementationSummary model)
-
-