Class CreateAnnotationDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datalabelingservicedataplane.model.CreateAnnotationDetails.Builder
-
- Enclosing class:
- CreateAnnotationDetails
public static class CreateAnnotationDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAnnotationDetails
build()
CreateAnnotationDetails.Builder
compartmentId(String compartmentId)
The OCID of the compartment for the annotation.CreateAnnotationDetails.Builder
copy(CreateAnnotationDetails model)
CreateAnnotationDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags for this resource.CreateAnnotationDetails.Builder
entities(List<Entity> entities)
The entity types are validated against the dataset to ensure consistency.CreateAnnotationDetails.Builder
freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.CreateAnnotationDetails.Builder
recordId(String recordId)
The OCID of the record annotated.
-
-
-
Method Detail
-
recordId
public CreateAnnotationDetails.Builder recordId(String recordId)
The OCID of the record annotated.- Parameters:
recordId
- the value to set- Returns:
- this builder
-
compartmentId
public CreateAnnotationDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment for the annotation.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
entities
public CreateAnnotationDetails.Builder entities(List<Entity> entities)
The entity types are validated against the dataset to ensure consistency.- Parameters:
entities
- the value to set- Returns:
- this builder
-
freeformTags
public CreateAnnotationDetails.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 CreateAnnotationDetails.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 CreateAnnotationDetails build()
-
copy
public CreateAnnotationDetails.Builder copy(CreateAnnotationDetails model)
-
-