Class RecordSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datalabelingservicedataplane.model.RecordSummary.Builder
-
- Enclosing class:
- RecordSummary
public static class RecordSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecordSummarybuild()RecordSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment for the task.RecordSummary.Buildercopy(RecordSummary model)RecordSummary.BuilderdatasetId(String datasetId)The OCID of the dataset to associate the record with.RecordSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)The defined tags for this resource.RecordSummary.BuilderfreeformTags(Map<String,String> freeformTags)A simple key-value pair that is applied without any predefined name, type, or scope.RecordSummary.Builderid(String id)The OCID of the record.RecordSummary.BuilderisLabeled(Boolean isLabeled)Whether or not the record has been labeled and has associated annotations.RecordSummary.BuilderlifecycleState(Record.LifecycleState lifecycleState)Describes the lifecycle state.RecordSummary.Buildername(String name)The name is automatically assigned by the service.RecordSummary.BuilderrecordMetadata(RecordMetadata recordMetadata)RecordSummary.BuildertimeCreated(Date timeCreated)The date and time the resource was created, in the timestamp format defined by RFC3339.RecordSummary.BuildertimeUpdated(Date timeUpdated)The date and time the resource was updated, in the timestamp format defined by RFC3339.
-
-
-
Method Detail
-
id
public RecordSummary.Builder id(String id)
The OCID of the record.- Parameters:
id- the value to set- Returns:
- this builder
-
name
public RecordSummary.Builder name(String name)
The name is automatically assigned by the service.It is unique and immutable
- Parameters:
name- the value to set- Returns:
- this builder
-
timeCreated
public RecordSummary.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 RecordSummary.Builder timeUpdated(Date timeUpdated)
The date and time the resource was updated, in the timestamp format defined by RFC3339.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
datasetId
public RecordSummary.Builder datasetId(String datasetId)
The OCID of the dataset to associate the record with.- Parameters:
datasetId- the value to set- Returns:
- this builder
-
compartmentId
public RecordSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment for the task.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
isLabeled
public RecordSummary.Builder isLabeled(Boolean isLabeled)
Whether or not the record has been labeled and has associated annotations.- Parameters:
isLabeled- the value to set- Returns:
- this builder
-
lifecycleState
public RecordSummary.Builder lifecycleState(Record.LifecycleState lifecycleState)
Describes the lifecycle state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
recordMetadata
public RecordSummary.Builder recordMetadata(RecordMetadata recordMetadata)
-
freeformTags
public RecordSummary.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 RecordSummary.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
-
build
public RecordSummary build()
-
copy
public RecordSummary.Builder copy(RecordSummary model)
-
-