public static class RecordSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RecordSummary |
build() |
RecordSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment for the task.
|
RecordSummary.Builder |
copy(RecordSummary model) |
RecordSummary.Builder |
datasetId(String datasetId)
The OCID of the dataset to associate the record with.
|
RecordSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags for this resource.
|
RecordSummary.Builder |
freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.
|
RecordSummary.Builder |
id(String id)
The OCID of the record.
|
RecordSummary.Builder |
isLabeled(Boolean isLabeled)
Whether or not the record has been labeled and has associated annotations.
|
RecordSummary.Builder |
lifecycleState(Record.LifecycleState lifecycleState)
Describes the lifecycle state.
|
RecordSummary.Builder |
name(String name)
The name is automatically assigned by the service.
|
RecordSummary.Builder |
recordMetadata(RecordMetadata recordMetadata) |
RecordSummary.Builder |
timeCreated(Date timeCreated)
The date and time the resource was created, in the timestamp format defined by RFC3339.
|
RecordSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the resource was updated, in the timestamp format defined by RFC3339.
|
public RecordSummary.Builder id(String id)
The OCID of the record.
id
- the value to setpublic RecordSummary.Builder name(String name)
The name is automatically assigned by the service. It is unique and immutable
name
- the value to setpublic RecordSummary.Builder timeCreated(Date timeCreated)
The date and time the resource was created, in the timestamp format defined by RFC3339.
timeCreated
- the value to setpublic RecordSummary.Builder timeUpdated(Date timeUpdated)
The date and time the resource was updated, in the timestamp format defined by RFC3339.
timeUpdated
- the value to setpublic RecordSummary.Builder datasetId(String datasetId)
The OCID of the dataset to associate the record with.
datasetId
- the value to setpublic RecordSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment for the task.
compartmentId
- the value to setpublic RecordSummary.Builder isLabeled(Boolean isLabeled)
Whether or not the record has been labeled and has associated annotations.
isLabeled
- the value to setpublic RecordSummary.Builder lifecycleState(Record.LifecycleState lifecycleState)
Describes the lifecycle state.
lifecycleState
- the value to setpublic RecordSummary.Builder recordMetadata(RecordMetadata recordMetadata)
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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic RecordSummary build()
public RecordSummary.Builder copy(RecordSummary model)
Copyright © 2016–2024. All rights reserved.