Class AnnotationSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datalabelingservicedataplane.model.AnnotationSummary.Builder
-
- Enclosing class:
- AnnotationSummary
public static class AnnotationSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationSummary
build()
AnnotationSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment for the annotation.AnnotationSummary.Builder
copy(AnnotationSummary model)
AnnotationSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags for this resource.AnnotationSummary.Builder
freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.AnnotationSummary.Builder
id(String id)
The OCID of the annotation.AnnotationSummary.Builder
lifecycleState(Annotation.LifecycleState lifecycleState)
Describes the lifecycle state.AnnotationSummary.Builder
recordId(String recordId)
The OCID of the record annotated.AnnotationSummary.Builder
timeCreated(Date timeCreated)
The date and time the annotation was created, in the timestamp format defined by RFC3339.AnnotationSummary.Builder
timeUpdated(Date timeUpdated)
The date and time the resource was updated, in the timestamp format defined by RFC3339.
-
-
-
Method Detail
-
id
public AnnotationSummary.Builder id(String id)
The OCID of the annotation.- Parameters:
id
- the value to set- Returns:
- this builder
-
timeCreated
public AnnotationSummary.Builder timeCreated(Date timeCreated)
The date and time the annotation was created, in the timestamp format defined by RFC3339.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public AnnotationSummary.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
-
recordId
public AnnotationSummary.Builder recordId(String recordId)
The OCID of the record annotated.- Parameters:
recordId
- the value to set- Returns:
- this builder
-
compartmentId
public AnnotationSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment for the annotation.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
lifecycleState
public AnnotationSummary.Builder lifecycleState(Annotation.LifecycleState lifecycleState)
Describes the lifecycle state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public AnnotationSummary.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 AnnotationSummary.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 AnnotationSummary build()
-
copy
public AnnotationSummary.Builder copy(AnnotationSummary model)
-
-