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