Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Record |
build() |
Record.Builder |
compartmentId(String compartmentId)
The OCID of the compartment for the task.
|
Record.Builder |
copy(Record model) |
Record.Builder |
datasetId(String datasetId)
The OCID of the dataset to associate the record with.
|
Record.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags for this resource.
|
Record.Builder |
freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.
|
Record.Builder |
id(String id)
The OCID of the record.
|
Record.Builder |
isLabeled(Boolean isLabeled)
Whether or not the record has been labeled and has associated annotations.
|
Record.Builder |
lifecycleState(Record.LifecycleState lifecycleState)
The lifecycle state of the record.
|
Record.Builder |
name(String name)
The name is created by the user.
|
Record.Builder |
recordMetadata(RecordMetadata recordMetadata) |
Record.Builder |
sourceDetails(SourceDetails sourceDetails) |
Record.Builder |
timeCreated(Date timeCreated)
The date and time the resource was created, in the timestamp format defined by RFC3339.
|
Record.Builder |
timeUpdated(Date timeUpdated)
The date and time the resource was updated, in the timestamp format defined by RFC3339.
|
public Record.Builder id(String id)
The OCID of the record.
id
- the value to setpublic Record.Builder name(String name)
The name is created by the user. It is unique and immutable.
name
- the value to setpublic Record.Builder timeCreated(Date timeCreated)
The date and time the resource was created, in the timestamp format defined by RFC3339.
timeCreated
- the value to setpublic Record.Builder timeUpdated(Date timeUpdated)
The date and time the resource was updated, in the timestamp format defined by RFC3339.
timeUpdated
- the value to setpublic Record.Builder datasetId(String datasetId)
The OCID of the dataset to associate the record with.
datasetId
- the value to setpublic Record.Builder compartmentId(String compartmentId)
The OCID of the compartment for the task.
compartmentId
- the value to setpublic Record.Builder sourceDetails(SourceDetails sourceDetails)
public Record.Builder isLabeled(Boolean isLabeled)
Whether or not the record has been labeled and has associated annotations.
isLabeled
- the value to setpublic Record.Builder lifecycleState(Record.LifecycleState lifecycleState)
The lifecycle state of the record. ACTIVE - The record is active and ready for labeling. INACTIVE - The record has been marked as inactive and should not be used for labeling. DELETED - The record has been deleted and is no longer available for labeling.
lifecycleState
- the value to setpublic Record.Builder recordMetadata(RecordMetadata recordMetadata)
public Record.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 Record.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 Record build()
public Record.Builder copy(Record model)
Copyright © 2016–2024. All rights reserved.