Class MlApplicationImplementationVersionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.MlApplicationImplementationVersionSummary.Builder
-
- Enclosing class:
- MlApplicationImplementationVersionSummary
public static class MlApplicationImplementationVersionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MlApplicationImplementationVersionSummary.Builder
allowedMigrationDestinations(List<String> allowedMigrationDestinations)
List of ML Application Implementation OCIDs for which migration from this implementation is allowed.MlApplicationImplementationVersionSummary
build()
MlApplicationImplementationVersionSummary.Builder
configurationSchema(List<ConfigurationPropertySchema> configurationSchema)
Schema of configuration which needs to be provided for each ML Application Instance.MlApplicationImplementationVersionSummary.Builder
copy(MlApplicationImplementationVersionSummary model)
MlApplicationImplementationVersionSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.MlApplicationImplementationVersionSummary.Builder
description(String description)
Description of ML Application Implementation defined in ML Application package descriptorMlApplicationImplementationVersionSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.MlApplicationImplementationVersionSummary.Builder
id(String id)
The OCID of the MlApplicationImplementationVersion.MlApplicationImplementationVersionSummary.Builder
lifecycleState(MlApplicationImplementationVersion.LifecycleState lifecycleState)
The current state of the MlApplicationImplementationVersion.MlApplicationImplementationVersionSummary.Builder
mlApplicationId(String mlApplicationId)
The OCID of the ML Application implemented by this ML Application Implementation.MlApplicationImplementationVersionSummary.Builder
mlApplicationImplementationId(String mlApplicationImplementationId)
The OCID of the MlApplicationImplementation for which this resource keeps the historical state.MlApplicationImplementationVersionSummary.Builder
mlApplicationName(String mlApplicationName)
The name of ML Application (based on mlApplicationId).MlApplicationImplementationVersionSummary.Builder
name(String name)
ML Application Implementation name which is unique for given ML Application.MlApplicationImplementationVersionSummary.Builder
packageVersion(String packageVersion)
The version of ML Application Package (e.g.MlApplicationImplementationVersionSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.MlApplicationImplementationVersionSummary.Builder
timeCreated(Date timeCreated)
Creation time of MlApplicationImplementationVersion in the format defined by RFC 3339.
-
-
-
Method Detail
-
id
public MlApplicationImplementationVersionSummary.Builder id(String id)
The OCID of the MlApplicationImplementationVersion.Unique identifier that is immutable after creation.
- Parameters:
id
- the value to set- Returns:
- this builder
-
mlApplicationImplementationId
public MlApplicationImplementationVersionSummary.Builder mlApplicationImplementationId(String mlApplicationImplementationId)
The OCID of the MlApplicationImplementation for which this resource keeps the historical state.- Parameters:
mlApplicationImplementationId
- the value to set- Returns:
- this builder
-
name
public MlApplicationImplementationVersionSummary.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 MlApplicationImplementationVersionSummary.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 MlApplicationImplementationVersionSummary.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 MlApplicationImplementationVersionSummary.Builder mlApplicationName(String mlApplicationName)
The name of ML Application (based on mlApplicationId).- Parameters:
mlApplicationName
- the value to set- Returns:
- this builder
-
packageVersion
public MlApplicationImplementationVersionSummary.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 MlApplicationImplementationVersionSummary.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 MlApplicationImplementationVersionSummary.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
-
timeCreated
public MlApplicationImplementationVersionSummary.Builder timeCreated(Date timeCreated)
Creation time of MlApplicationImplementationVersion in the format defined by RFC 3339.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public MlApplicationImplementationVersionSummary.Builder lifecycleState(MlApplicationImplementationVersion.LifecycleState lifecycleState)
The current state of the MlApplicationImplementationVersion.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public MlApplicationImplementationVersionSummary.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 MlApplicationImplementationVersionSummary.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 MlApplicationImplementationVersionSummary.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 MlApplicationImplementationVersionSummary build()
-
copy
public MlApplicationImplementationVersionSummary.Builder copy(MlApplicationImplementationVersionSummary model)
-
-