Annotation Type Export


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface Export
    Annotation used by a mark Resource output properties.

    Use this annotation in your Pulumi programs to mark outputs of ComponentResource.
    Requirements:

    • annotate a field of type @see Output
    • the type T of the @see Output needs to be given explicitly using tree() and refs() parameters
    • if the type T is also generic, the tree shape of its generic parameter types must be given using tree() parameter otherwise it can be omitted
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String name  
      java.lang.Class<?>[] refs  
      java.lang.String tree  
    • Element Detail

      • name

        java.lang.String name
        Returns:
        the exported output name of the annotated @see Output If not set, the name of the annotated field will be used.
        Default:
        ""
      • tree

        java.lang.String tree
        Returns:
        the generic type parameter tree shape of the annotated @see Output
        Default:
        ""
      • refs

        java.lang.Class<?>[] refs
        Returns:
        the generic type parameters of the @see tree() If not set, the assumption is that this is not a generic type.
        Default:
        {}