Package com.oracle.bmc.datascience.model
Class ModelGroupSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.ModelGroupSummary.Builder
-
- Enclosing class:
- ModelGroupSummary
public static class ModelGroupSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelGroupSummary
build()
ModelGroupSummary.Builder
compartmentId(String compartmentId)
The OCID of the modelGroup’s compartment.ModelGroupSummary.Builder
copy(ModelGroupSummary model)
ModelGroupSummary.Builder
createdBy(String createdBy)
The OCID of the user who created the modelGroup.ModelGroupSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ModelGroupSummary.Builder
displayName(String displayName)
A user-friendly display name for the resource.ModelGroupSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.ModelGroupSummary.Builder
id(String id)
The OCID of the modelGroup.ModelGroupSummary.Builder
lifecycleDetails(String lifecycleDetails)
Details about the lifecycle state of the model group.ModelGroupSummary.Builder
lifecycleState(ModelGroupLifecycleState lifecycleState)
The state of the model.ModelGroupSummary.Builder
modelGroupDetails(ModelGroupDetails modelGroupDetails)
ModelGroupSummary.Builder
modelGroupVersionHistoryId(String modelGroupVersionHistoryId)
The OCID of the model group version history to which the modelGroup is associated.ModelGroupSummary.Builder
modelGroupVersionHistoryName(String modelGroupVersionHistoryName)
The name of the model group version history to which the model group is associated.ModelGroupSummary.Builder
projectId(String projectId)
The OCID of the project associated with the modelGroup.ModelGroupSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.ModelGroupSummary.Builder
timeCreated(Date timeCreated)
The date and time the resource was created in the timestamp format defined by RFC3339.ModelGroupSummary.Builder
timeUpdated(Date timeUpdated)
The date and time the resource was last updated in the timestamp format defined by RFC3339.ModelGroupSummary.Builder
versionId(Long versionId)
Unique identifier assigned to each version of the model group.ModelGroupSummary.Builder
versionLabel(String versionLabel)
An additional description of the lifecycle state of the model group.
-
-
-
Method Detail
-
id
public ModelGroupSummary.Builder id(String id)
The OCID of the modelGroup.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public ModelGroupSummary.Builder compartmentId(String compartmentId)
The OCID of the modelGroup’s compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
projectId
public ModelGroupSummary.Builder projectId(String projectId)
The OCID of the project associated with the modelGroup.- Parameters:
projectId
- the value to set- Returns:
- this builder
-
displayName
public ModelGroupSummary.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
-
createdBy
public ModelGroupSummary.Builder createdBy(String createdBy)
The OCID of the user who created the modelGroup.- Parameters:
createdBy
- the value to set- Returns:
- this builder
-
timeCreated
public ModelGroupSummary.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 ModelGroupSummary.Builder timeUpdated(Date timeUpdated)
The date and time the resource was last updated in the timestamp format defined by RFC3339.Example: 2019-08-25T21:10:29.41Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public ModelGroupSummary.Builder lifecycleState(ModelGroupLifecycleState lifecycleState)
The state of the model.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public ModelGroupSummary.Builder lifecycleDetails(String lifecycleDetails)
Details about the lifecycle state of the model group.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
modelGroupVersionHistoryId
public ModelGroupSummary.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 ModelGroupSummary.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 ModelGroupSummary.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 ModelGroupSummary.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
-
modelGroupDetails
public ModelGroupSummary.Builder modelGroupDetails(ModelGroupDetails modelGroupDetails)
-
freeformTags
public ModelGroupSummary.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 ModelGroupSummary.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 ModelGroupSummary.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 ModelGroupSummary build()
-
copy
public ModelGroupSummary.Builder copy(ModelGroupSummary model)
-
-