Class License.Builder

  • Enclosing class:
    License

    public static class License.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public License build()
        Builds a License.
        Returns:
        the new License instance
      • id

        public License.Builder id​(java.lang.String id)
        Set the id.
        Parameters:
        id - the id
        Returns:
        the License builder
      • name

        public License.Builder name​(java.lang.String name)
        Set the name.
        Parameters:
        name - the name
        Returns:
        the License builder
      • type

        public License.Builder type​(java.lang.String type)
        Set the type.
        Parameters:
        type - the type
        Returns:
        the License builder
      • url

        public License.Builder url​(java.lang.String url)
        Set the url.
        Parameters:
        url - the url
        Returns:
        the License builder
      • description

        public License.Builder description​(java.lang.String description)
        Set the description.
        Parameters:
        description - the description
        Returns:
        the License builder