Package com.oracle.bmc.datascience.model
Class ModelGroup.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.ModelGroup.Builder
-
- Enclosing class:
- ModelGroup
public static class ModelGroup.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelGroupbuild()ModelGroup.BuildercompartmentId(String compartmentId)The OCID of the modelGroup’s compartment.ModelGroup.Buildercopy(ModelGroup model)ModelGroup.BuildercreatedBy(String createdBy)The OCID of the user who created the modelGroup.ModelGroup.BuildercreateType(String createType)The type of the model group create operation.ModelGroup.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ModelGroup.Builderdescription(String description)A short description of the modelGroup.ModelGroup.BuilderdisplayName(String displayName)A user-friendly display name for the resource.ModelGroup.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ModelGroup.Builderid(String id)The OCID of the modelGroup.ModelGroup.BuilderlifecycleDetails(String lifecycleDetails)Details about the lifecycle state of the model group.ModelGroup.BuilderlifecycleState(ModelGroupLifecycleState lifecycleState)The state of the modelGroup.ModelGroup.BuildermemberModelEntries(MemberModelEntries memberModelEntries)ModelGroup.BuildermodelGroupDetails(ModelGroupDetails modelGroupDetails)ModelGroup.BuildermodelGroupVersionHistoryId(String modelGroupVersionHistoryId)The OCID of the model group version history to which the modelGroup is associated.ModelGroup.BuildermodelGroupVersionHistoryName(String modelGroupVersionHistoryName)The name of the model group version history to which the model group is associated.ModelGroup.BuilderprojectId(String projectId)The OCID of the project associated with the modelGroup.ModelGroup.BuildersourceModelGroupId(String sourceModelGroupId)The OCID of the model group used for the clone operation.ModelGroup.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.ModelGroup.BuildertimeCreated(Date timeCreated)The date and time the resource was created in the timestamp format defined by RFC3339.ModelGroup.BuildertimeUpdated(Date timeUpdated)The date and time the resource was updated in the timestamp format defined by RFC3339.ModelGroup.BuilderversionId(Long versionId)Unique identifier assigned to each version of the model group.ModelGroup.BuilderversionLabel(String versionLabel)An additional description of the lifecycle state of the model group.
-
-
-
Method Detail
-
id
public ModelGroup.Builder id(String id)
The OCID of the modelGroup.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public ModelGroup.Builder compartmentId(String compartmentId)
The OCID of the modelGroup’s compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
projectId
public ModelGroup.Builder projectId(String projectId)
The OCID of the project associated with the modelGroup.- Parameters:
projectId- the value to set- Returns:
- this builder
-
displayName
public ModelGroup.Builder displayName(String displayName)
A user-friendly display name for the resource.It does not have to be unique and can be modified. Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public ModelGroup.Builder description(String description)
A short description of the modelGroup.- Parameters:
description- the value to set- Returns:
- this builder
-
modelGroupDetails
public ModelGroup.Builder modelGroupDetails(ModelGroupDetails modelGroupDetails)
-
memberModelEntries
public ModelGroup.Builder memberModelEntries(MemberModelEntries memberModelEntries)
-
freeformTags
public ModelGroup.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 ModelGroup.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 ModelGroup.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
-
lifecycleState
public ModelGroup.Builder lifecycleState(ModelGroupLifecycleState lifecycleState)
The state of the modelGroup.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public ModelGroup.Builder lifecycleDetails(String lifecycleDetails)
Details about the lifecycle state of the model group.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
timeCreated
public ModelGroup.Builder timeCreated(Date timeCreated)
The date and time the resource was created in the timestamp format defined by RFC3339.Example: 2019-08-25T21:10:29.41Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ModelGroup.Builder timeUpdated(Date timeUpdated)
The date and time the resource was updated in the timestamp format defined by RFC3339.Example: 2019-08-25T21:10:29.41Z
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
createdBy
public ModelGroup.Builder createdBy(String createdBy)
The OCID of the user who created the modelGroup.- Parameters:
createdBy- the value to set- Returns:
- this builder
-
modelGroupVersionHistoryId
public ModelGroup.Builder modelGroupVersionHistoryId(String modelGroupVersionHistoryId)
The OCID of the model group version history to which the modelGroup is associated.- Parameters:
modelGroupVersionHistoryId- the value to set- Returns:
- this builder
-
modelGroupVersionHistoryName
public ModelGroup.Builder modelGroupVersionHistoryName(String modelGroupVersionHistoryName)
The name of the model group version history to which the model group is associated.- Parameters:
modelGroupVersionHistoryName- the value to set- Returns:
- this builder
-
versionLabel
public ModelGroup.Builder versionLabel(String versionLabel)
An additional description of the lifecycle state of the model group.- Parameters:
versionLabel- the value to set- Returns:
- this builder
-
versionId
public ModelGroup.Builder versionId(Long versionId)
Unique identifier assigned to each version of the model group.It would be auto-incremented number generated by service.
- Parameters:
versionId- the value to set- Returns:
- this builder
-
createType
public ModelGroup.Builder createType(String createType)
The type of the model group create operation.- Parameters:
createType- the value to set- Returns:
- this builder
-
sourceModelGroupId
public ModelGroup.Builder sourceModelGroupId(String sourceModelGroupId)
The OCID of the model group used for the clone operation.- Parameters:
sourceModelGroupId- the value to set- Returns:
- this builder
-
build
public ModelGroup build()
-
copy
public ModelGroup.Builder copy(ModelGroup model)
-
-