public static class CreateAnnotationDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public CreateAnnotationDetails.Builder recordId(String recordId)
The OCID of the record annotated.
recordId
- the value to setpublic CreateAnnotationDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment for the annotation.
compartmentId
- the value to setpublic CreateAnnotationDetails.Builder entities(List<Entity> entities)
The entity types are validated against the dataset to ensure consistency.
entities
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic CreateAnnotationDetails build()
public CreateAnnotationDetails.Builder copy(CreateAnnotationDetails model)
Copyright © 2016–2024. All rights reserved.