org.springframework.boot.context.properties.bind

Annotation Type Name



  • @Retention(value=RUNTIME)
     @Target(value=PARAMETER)
     @Documented
    public @interface Name
    Annotation that can be used to specify the name when binding to an immutable property. This annotation may be required when binding to names that clash with reserved language keywords.
    Since:
    2.4.0
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element and Description
      java.lang.String value
      The name of the property to use for binding.
    • Element Detail

      • value

        public abstract java.lang.String value
        The name of the property to use for binding.
        Returns:
        the property name