Class OriginInput.Builder

  • Enclosing class:
    OriginInput

    public static class OriginInput.Builder
    extends Object
    Builder.
    • Constructor Detail

      • Builder

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

      • build

        public OriginInput build()
        Builds a OriginInput.
        Returns:
        the new OriginInput instance
      • name

        public OriginInput.Builder name​(String name)
        Set the name.
        Parameters:
        name - the name
        Returns:
        the OriginInput builder
      • description

        public OriginInput.Builder description​(String description)
        Set the description.
        Parameters:
        description - the description
        Returns:
        the OriginInput builder
      • address

        public OriginInput.Builder address​(String address)
        Set the address.
        Parameters:
        address - the address
        Returns:
        the OriginInput builder
      • enabled

        public OriginInput.Builder enabled​(Boolean enabled)
        Set the enabled.
        Parameters:
        enabled - the enabled
        Returns:
        the OriginInput builder