Class MlApplicationImplementationVersion.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.MlApplicationImplementationVersion.Builder
-
- Enclosing class:
- MlApplicationImplementationVersion
public static class MlApplicationImplementationVersion.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MlApplicationImplementationVersion.BuilderallowedMigrationDestinations(List<String> allowedMigrationDestinations)List of ML Application Implementation OCIDs for which migration from this implementation is allowed.MlApplicationImplementationVersion.BuilderapplicationComponents(List<ApplicationComponent> applicationComponents)List of application components (OCI resources shared for all MlApplicationInstances).MlApplicationImplementationVersionbuild()MlApplicationImplementationVersion.BuilderconfigurationSchema(List<ConfigurationPropertySchema> configurationSchema)Schema of configuration which needs to be provided for each ML Application Instance.MlApplicationImplementationVersion.Buildercopy(MlApplicationImplementationVersion model)MlApplicationImplementationVersion.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.MlApplicationImplementationVersion.Builderdescription(String description)Description of ML Application Implementation defined in ML Application package descriptorMlApplicationImplementationVersion.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.MlApplicationImplementationVersion.Builderid(String id)The OCID of the MlApplicationImplementationVersion.MlApplicationImplementationVersion.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.MlApplicationImplementationVersion.BuilderlifecycleState(MlApplicationImplementationVersion.LifecycleState lifecycleState)The current state of the MlApplicationImplementationVersion.MlApplicationImplementationVersion.BuildermlApplicationId(String mlApplicationId)The OCID of the ML Application implemented by this ML Application Implementation.MlApplicationImplementationVersion.BuildermlApplicationImplementationId(String mlApplicationImplementationId)The OCID of the MlApplicationImplementation for which this resource keeps the historical state.MlApplicationImplementationVersion.BuildermlApplicationName(String mlApplicationName)The name of ML Application (based on mlApplicationId)MlApplicationImplementationVersion.BuildermlApplicationPackageArguments(MlApplicationPackageArguments mlApplicationPackageArguments)MlApplicationImplementationVersion.Buildername(String name)ML Application Implementation name which is unique for given ML Application.MlApplicationImplementationVersion.BuilderpackageVersion(String packageVersion)The version of ML Application Package (e.g.MlApplicationImplementationVersion.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.MlApplicationImplementationVersion.BuildertimeCreated(Date timeCreated)Creation time of MlApplicationImplementationVersion in the format defined by RFC 3339.
-
-
-
Method Detail
-
id
public MlApplicationImplementationVersion.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 MlApplicationImplementationVersion.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 MlApplicationImplementationVersion.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 MlApplicationImplementationVersion.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 MlApplicationImplementationVersion.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 MlApplicationImplementationVersion.Builder mlApplicationName(String mlApplicationName)
The name of ML Application (based on mlApplicationId)- Parameters:
mlApplicationName- the value to set- Returns:
- this builder
-
packageVersion
public MlApplicationImplementationVersion.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 MlApplicationImplementationVersion.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 MlApplicationImplementationVersion.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 MlApplicationImplementationVersion.Builder mlApplicationPackageArguments(MlApplicationPackageArguments mlApplicationPackageArguments)
-
allowedMigrationDestinations
public MlApplicationImplementationVersion.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 MlApplicationImplementationVersion.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 MlApplicationImplementationVersion.Builder lifecycleState(MlApplicationImplementationVersion.LifecycleState lifecycleState)
The current state of the MlApplicationImplementationVersion.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public MlApplicationImplementationVersion.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 MlApplicationImplementationVersion.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 MlApplicationImplementationVersion.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 MlApplicationImplementationVersion.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 MlApplicationImplementationVersion build()
-
copy
public MlApplicationImplementationVersion.Builder copy(MlApplicationImplementationVersion model)
-
-