Class Dataset.Builder
- java.lang.Object
-
- com.oracle.bmc.datalabelingservice.model.Dataset.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dataset.BuilderadditionalProperties(Map<String,String> additionalProperties)A simple key-value pair that is applied without any predefined name, type, or scope.Dataset.BuilderannotationFormat(String annotationFormat)The annotation format name required for labeling records.Datasetbuild()Dataset.BuildercompartmentId(String compartmentId)The OCID of the compartment of the resource.Dataset.Buildercopy(Dataset model)Dataset.BuilderdatasetFormatDetails(DatasetFormatDetails datasetFormatDetails)Dataset.BuilderdatasetSourceDetails(DatasetSourceDetails datasetSourceDetails)Dataset.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)The defined tags for this resource.Dataset.Builderdescription(String description)A user provided description of the datasetDataset.BuilderdisplayName(String displayName)A user-friendly display name for the resource.Dataset.BuilderfreeformTags(Map<String,String> freeformTags)A simple key-value pair that is applied without any predefined name, type, or scope.Dataset.Builderid(String id)The OCID of the Dataset.Dataset.BuilderinitialImportDatasetConfiguration(InitialImportDatasetConfiguration initialImportDatasetConfiguration)Dataset.BuilderinitialRecordGenerationConfiguration(InitialRecordGenerationConfiguration initialRecordGenerationConfiguration)Dataset.BuilderlabelingInstructions(String labelingInstructions)The labeling instructions for human labelers in rich text formatDataset.BuilderlabelSet(LabelSet labelSet)Dataset.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.Dataset.BuilderlifecycleState(Dataset.LifecycleState lifecycleState)The state of a dataset.Dataset.BuilderlifecycleSubstate(Dataset.LifecycleSubstate lifecycleSubstate)The sub-state of the dataset.Dataset.BuildersystemTags(Map<String,Map<String,Object>> systemTags)The usage of system tag keys.Dataset.BuildertimeCreated(Date timeCreated)The date and time the resource was created, in the timestamp format defined by RFC3339.Dataset.BuildertimeUpdated(Date timeUpdated)The date and time the resource was last updated, in the timestamp format defined by RFC3339.
-
-
-
Method Detail
-
id
public Dataset.Builder id(String id)
The OCID of the Dataset.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public Dataset.Builder displayName(String displayName)
A user-friendly display name for the resource.- Parameters:
displayName- the value to set- Returns:
- this builder
-
compartmentId
public Dataset.Builder compartmentId(String compartmentId)
The OCID of the compartment of the resource.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
description
public Dataset.Builder description(String description)
A user provided description of the dataset- Parameters:
description- the value to set- Returns:
- this builder
-
timeCreated
public Dataset.Builder timeCreated(Date timeCreated)
The date and time the resource was created, in the timestamp format defined by RFC3339.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public Dataset.Builder timeUpdated(Date timeUpdated)
The date and time the resource was last updated, in the timestamp format defined by RFC3339.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public Dataset.Builder lifecycleState(Dataset.LifecycleState lifecycleState)
The state of a dataset.CREATING - The dataset is being created. It will transition to ACTIVE when it is ready for labeling. ACTIVE - The dataset is ready for labeling. UPDATING - The dataset is being updated. It and its related resources may be unavailable for other updates until it returns to ACTIVE. NEEDS_ATTENTION - A dataset updation operation has failed due to validation or other errors and needs attention. DELETING - The dataset and its related resources are being deleted. DELETED - The dataset has been deleted and is no longer available. FAILED - The dataset has failed due to validation or other errors.
- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public Dataset.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, it can be used to provide actionable information for a resource in FAILED or NEEDS_ATTENTION state.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
lifecycleSubstate
public Dataset.Builder lifecycleSubstate(Dataset.LifecycleSubstate lifecycleSubstate)
The sub-state of the dataset.IMPORT_DATASET - The dataset is being imported.
- Parameters:
lifecycleSubstate- the value to set- Returns:
- this builder
-
annotationFormat
public Dataset.Builder annotationFormat(String annotationFormat)
The annotation format name required for labeling records.- Parameters:
annotationFormat- the value to set- Returns:
- this builder
-
datasetSourceDetails
public Dataset.Builder datasetSourceDetails(DatasetSourceDetails datasetSourceDetails)
-
datasetFormatDetails
public Dataset.Builder datasetFormatDetails(DatasetFormatDetails datasetFormatDetails)
-
labelSet
public Dataset.Builder labelSet(LabelSet labelSet)
-
initialRecordGenerationConfiguration
public Dataset.Builder initialRecordGenerationConfiguration(InitialRecordGenerationConfiguration initialRecordGenerationConfiguration)
-
initialImportDatasetConfiguration
public Dataset.Builder initialImportDatasetConfiguration(InitialImportDatasetConfiguration initialImportDatasetConfiguration)
-
labelingInstructions
public Dataset.Builder labelingInstructions(String labelingInstructions)
The labeling instructions for human labelers in rich text format- Parameters:
labelingInstructions- the value to set- Returns:
- this builder
-
freeformTags
public Dataset.Builder freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.It exists for cross-compatibility only. For example: {“bar-key”: “value”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public Dataset.Builder definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags for this resource.Each key is predefined and scoped to a namespace. For example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public Dataset.Builder systemTags(Map<String,Map<String,Object>> systemTags)
The usage of system tag keys.These predefined keys are scoped to namespaces. For example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
additionalProperties
public Dataset.Builder additionalProperties(Map<String,String> additionalProperties)
A simple key-value pair that is applied without any predefined name, type, or scope.It exists for cross-compatibility only. For example: {“bar-key”: “value”}
- Parameters:
additionalProperties- the value to set- Returns:
- this builder
-
build
public Dataset build()
-
copy
public Dataset.Builder copy(Dataset model)
-
-