oracle.dbtools.plugin.api.di

## Interface Annotations.Builder<T extends Annotation>

- Type Parameters:
    `T` - The type of annotation to create
  Enclosing interface:
    Annotations

      public static interface Annotations.Builder<T extends Annotation>

  Builds new `Annotation` instances
  Author:
    cdivilly

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `build()` Build the `Annotation` instance
    `Annotations.Builder<T>` | `property(String name, Object value)` Set the value of an annotation property to the specified value
    `Annotations.Builder<T>` | `value(Object value)` Set the default value() property of an Annotation

- - ### Method Detail

    - #### build

          T build()

      Build the `Annotation` instance
      Returns:
        Annotation instance

    - #### property

          Annotations.Builder<T> property(String name,
                                          Object value)

      Set the value of an annotation property to the specified value
      Parameters:
        `name` - The name of the property. The annotation type is checked to ensure the annotation contains the named property
        `value` - The value of the property.
      Returns:
        self

    - #### value

          Annotations.Builder<T> value(Object value)

      Set the default value() property of an Annotation
      Parameters:
        `value` - The value to assign to the `#value()` property
      Returns:
        self

Copyright © 2010, 2022, Oracle and/or its affiliates.