public static class AnnotationSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public AnnotationSummary.Builder id(String id)
The OCID of the annotation.
id
- the value to setpublic AnnotationSummary.Builder timeCreated(Date timeCreated)
The date and time the annotation was created, in the timestamp format defined by RFC3339.
timeCreated
- the value to setpublic AnnotationSummary.Builder timeUpdated(Date timeUpdated)
The date and time the resource was updated, in the timestamp format defined by RFC3339.
timeUpdated
- the value to setpublic AnnotationSummary.Builder recordId(String recordId)
The OCID of the record annotated.
recordId
- the value to setpublic AnnotationSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment for the annotation.
compartmentId
- the value to setpublic AnnotationSummary.Builder lifecycleState(Annotation.LifecycleState lifecycleState)
Describes the lifecycle state.
lifecycleState
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic AnnotationSummary build()
public AnnotationSummary.Builder copy(AnnotationSummary model)
Copyright © 2016–2024. All rights reserved.