Class MlApplicationInstanceView.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.MlApplicationInstanceView.Builder
-
- Enclosing class:
- MlApplicationInstanceView
public static class MlApplicationInstanceView.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MlApplicationInstanceView.Builder
authConfiguration(AuthConfiguration authConfiguration)
MlApplicationInstanceView
build()
MlApplicationInstanceView.Builder
compartmentId(String compartmentId)
The OCID of the compartment where the MlApplicationInstanceView is created.MlApplicationInstanceView.Builder
configuration(List<ConfigurationProperty> configuration)
This field is a copy from MlApplicationInstance created by the consumer.MlApplicationInstanceView.Builder
copy(MlApplicationInstanceView model)
MlApplicationInstanceView.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.MlApplicationInstanceView.Builder
displayName(String displayName)
The name of the MlApplicationInstance (created by the consumer) which this MlApplicationInstanceView is mirroring.MlApplicationInstanceView.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.MlApplicationInstanceView.Builder
id(String id)
The OCID of the MlApplicationInstanceView.MlApplicationInstanceView.Builder
instanceComponents(List<InstanceComponent> instanceComponents)
References (Identifiers) for components dedicated to this instance.MlApplicationInstanceView.Builder
isEnabled(Boolean isEnabled)
This field is a copy from MlApplicationInstance created by the consumer.MlApplicationInstanceView.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.MlApplicationInstanceView.Builder
lifecycleState(MlApplicationInstanceView.LifecycleState lifecycleState)
The current state of the MlApplicationInstance(View).MlApplicationInstanceView.Builder
lifecycleSubstate(MlApplicationInstanceView.LifecycleSubstate lifecycleSubstate)
The current substate of the MlApplicationInstance(View).MlApplicationInstanceView.Builder
mlApplicationId(String mlApplicationId)
This field is a copy from MlApplicationInstance created by the consumer.MlApplicationInstanceView.Builder
mlApplicationImplementationId(String mlApplicationImplementationId)
This field is a copy from MlApplicationInstance created by the consumer.MlApplicationInstanceView.Builder
mlApplicationImplementationName(String mlApplicationImplementationName)
This field is a copy from MlApplicationInstance created by the consumer.MlApplicationInstanceView.Builder
mlApplicationImplementationVersionId(String mlApplicationImplementationVersionId)
The OCID of the MlApplicationImplementationVersionMlApplicationInstanceView.Builder
mlApplicationInstanceId(String mlApplicationInstanceId)
The OCID of the MlApplicationInstance (created by the consumer) which this MlApplicationInstanceView is mirroring.MlApplicationInstanceView.Builder
mlApplicationName(String mlApplicationName)
The name of ML Application (based on mlApplicationId).MlApplicationInstanceView.Builder
packageVersion(String packageVersion)
Version of MlApplication package which is currently used by this MlApplicationInstance.MlApplicationInstanceView.Builder
predictionEndpointDetails(PredictionEndpointDetails predictionEndpointDetails)
MlApplicationInstanceView.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.MlApplicationInstanceView.Builder
timeCreated(Date timeCreated)
The time the the MlApplicationInstanceView was created.
-
-
-
Method Detail
-
id
public MlApplicationInstanceView.Builder id(String id)
The OCID of the MlApplicationInstanceView.Unique identifier that is immutable after creation
- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public MlApplicationInstanceView.Builder displayName(String displayName)
The name of the MlApplicationInstance (created by the consumer) which this MlApplicationInstanceView is mirroring.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
mlApplicationInstanceId
public MlApplicationInstanceView.Builder mlApplicationInstanceId(String mlApplicationInstanceId)
The OCID of the MlApplicationInstance (created by the consumer) which this MlApplicationInstanceView is mirroring.- Parameters:
mlApplicationInstanceId
- the value to set- Returns:
- this builder
-
mlApplicationId
public MlApplicationInstanceView.Builder mlApplicationId(String mlApplicationId)
This field is a copy from MlApplicationInstance created by the consumer.The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
- Parameters:
mlApplicationId
- the value to set- Returns:
- this builder
-
mlApplicationName
public MlApplicationInstanceView.Builder mlApplicationName(String mlApplicationName)
The name of ML Application (based on mlApplicationId).- Parameters:
mlApplicationName
- the value to set- Returns:
- this builder
-
mlApplicationImplementationId
public MlApplicationInstanceView.Builder mlApplicationImplementationId(String mlApplicationImplementationId)
This field is a copy from MlApplicationInstance created by the consumer.The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
- Parameters:
mlApplicationImplementationId
- the value to set- Returns:
- this builder
-
mlApplicationImplementationName
public MlApplicationInstanceView.Builder mlApplicationImplementationName(String mlApplicationImplementationName)
This field is a copy from MlApplicationInstance created by the consumer.The name of Ml Application Implemenation (based on mlApplicationImplementationId)
- Parameters:
mlApplicationImplementationName
- the value to set- Returns:
- this builder
-
packageVersion
public MlApplicationInstanceView.Builder packageVersion(String packageVersion)
Version of MlApplication package which is currently used by this MlApplicationInstance.- Parameters:
packageVersion
- the value to set- Returns:
- this builder
-
mlApplicationImplementationVersionId
public MlApplicationInstanceView.Builder mlApplicationImplementationVersionId(String mlApplicationImplementationVersionId)
The OCID of the MlApplicationImplementationVersion- Parameters:
mlApplicationImplementationVersionId
- the value to set- Returns:
- this builder
-
authConfiguration
public MlApplicationInstanceView.Builder authConfiguration(AuthConfiguration authConfiguration)
-
configuration
public MlApplicationInstanceView.Builder configuration(List<ConfigurationProperty> configuration)
This field is a copy from MlApplicationInstance created by the consumer.Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplication.
- Parameters:
configuration
- the value to set- Returns:
- this builder
-
isEnabled
public MlApplicationInstanceView.Builder isEnabled(Boolean isEnabled)
This field is a copy from MlApplicationInstance created by the consumer.States whether the MlApplicationInstance is supposed to be in ACTIVE lifecycle state.
- Parameters:
isEnabled
- the value to set- Returns:
- this builder
-
instanceComponents
public MlApplicationInstanceView.Builder instanceComponents(List<InstanceComponent> instanceComponents)
References (Identifiers) for components dedicated to this instance.- Parameters:
instanceComponents
- the value to set- Returns:
- this builder
-
compartmentId
public MlApplicationInstanceView.Builder compartmentId(String compartmentId)
The OCID of the compartment where the MlApplicationInstanceView is created.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
predictionEndpointDetails
public MlApplicationInstanceView.Builder predictionEndpointDetails(PredictionEndpointDetails predictionEndpointDetails)
-
timeCreated
public MlApplicationInstanceView.Builder timeCreated(Date timeCreated)
The time the the MlApplicationInstanceView was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public MlApplicationInstanceView.Builder lifecycleState(MlApplicationInstanceView.LifecycleState lifecycleState)
The current state of the MlApplicationInstance(View).- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleSubstate
public MlApplicationInstanceView.Builder lifecycleSubstate(MlApplicationInstanceView.LifecycleSubstate lifecycleSubstate)
The current substate of the MlApplicationInstance(View).The substate has MlApplicationInstance(View) specific values in comparison with lifecycleState which has standard values common for all OCI resources. The NEEDS_ATTENTION and FAILED substates are deprecated in favor of (NON_)?RECOVERABLE_(PROVIDER|SERVICE)_ISSUE and will be removed in next release.
- Parameters:
lifecycleSubstate
- the value to set- Returns:
- this builder
-
lifecycleDetails
public MlApplicationInstanceView.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 MlApplicationInstanceView.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 MlApplicationInstanceView.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 MlApplicationInstanceView.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 MlApplicationInstanceView build()
-
copy
public MlApplicationInstanceView.Builder copy(MlApplicationInstanceView model)
-
-