Class AnnotationSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • 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
      • 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