Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Dataset.Builder |
additionalProperties(Map<String,String> additionalProperties)
A simple key-value pair that is applied without any predefined name, type, or scope.
|
Dataset.Builder |
annotationFormat(String annotationFormat)
The annotation format name required for labeling records.
|
Dataset |
build() |
Dataset.Builder |
compartmentId(String compartmentId)
The OCID of the compartment of the resource.
|
Dataset.Builder |
copy(Dataset model) |
Dataset.Builder |
datasetFormatDetails(DatasetFormatDetails datasetFormatDetails) |
Dataset.Builder |
datasetSourceDetails(DatasetSourceDetails datasetSourceDetails) |
Dataset.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags for this resource.
|
Dataset.Builder |
description(String description)
A user provided description of the dataset
|
Dataset.Builder |
displayName(String displayName)
A user-friendly display name for the resource.
|
Dataset.Builder |
freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.
|
Dataset.Builder |
id(String id)
The OCID of the Dataset.
|
Dataset.Builder |
initialImportDatasetConfiguration(InitialImportDatasetConfiguration initialImportDatasetConfiguration) |
Dataset.Builder |
initialRecordGenerationConfiguration(InitialRecordGenerationConfiguration initialRecordGenerationConfiguration) |
Dataset.Builder |
labelingInstructions(String labelingInstructions)
The labeling instructions for human labelers in rich text format
|
Dataset.Builder |
labelSet(LabelSet labelSet) |
Dataset.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
Dataset.Builder |
lifecycleState(Dataset.LifecycleState lifecycleState)
The state of a dataset.
|
Dataset.Builder |
lifecycleSubstate(Dataset.LifecycleSubstate lifecycleSubstate)
The sub-state of the dataset.
|
Dataset.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
The usage of system tag keys.
|
Dataset.Builder |
timeCreated(Date timeCreated)
The date and time the resource was created, in the timestamp format defined by RFC3339.
|
Dataset.Builder |
timeUpdated(Date timeUpdated)
The date and time the resource was last updated, in the timestamp format defined by
RFC3339.
|
public Dataset.Builder id(String id)
The OCID of the Dataset.
id
- the value to setpublic Dataset.Builder displayName(String displayName)
A user-friendly display name for the resource.
displayName
- the value to setpublic Dataset.Builder compartmentId(String compartmentId)
The OCID of the compartment of the resource.
compartmentId
- the value to setpublic Dataset.Builder description(String description)
A user provided description of the dataset
description
- the value to setpublic Dataset.Builder timeCreated(Date timeCreated)
The date and time the resource was created, in the timestamp format defined by RFC3339.
timeCreated
- the value to setpublic Dataset.Builder timeUpdated(Date timeUpdated)
The date and time the resource was last updated, in the timestamp format defined by RFC3339.
timeUpdated
- the value to setpublic 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.
lifecycleState
- the value to setpublic 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.
lifecycleDetails
- the value to setpublic Dataset.Builder lifecycleSubstate(Dataset.LifecycleSubstate lifecycleSubstate)
The sub-state of the dataset. IMPORT_DATASET - The dataset is being imported.
lifecycleSubstate
- the value to setpublic Dataset.Builder annotationFormat(String annotationFormat)
The annotation format name required for labeling records.
annotationFormat
- the value to setpublic Dataset.Builder datasetSourceDetails(DatasetSourceDetails datasetSourceDetails)
public Dataset.Builder datasetFormatDetails(DatasetFormatDetails datasetFormatDetails)
public Dataset.Builder labelSet(LabelSet labelSet)
public Dataset.Builder initialRecordGenerationConfiguration(InitialRecordGenerationConfiguration initialRecordGenerationConfiguration)
public Dataset.Builder initialImportDatasetConfiguration(InitialImportDatasetConfiguration initialImportDatasetConfiguration)
public Dataset.Builder labelingInstructions(String labelingInstructions)
The labeling instructions for human labelers in rich text format
labelingInstructions
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic 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"}
additionalProperties
- the value to setpublic Dataset build()
public Dataset.Builder copy(Dataset model)
Copyright © 2016–2024. All rights reserved.