Class HealthcheckHeader.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(String name,
                       List<String> value)
        Instantiates a new builder with required properties.
        Parameters:
        name - the name
        value - the value
    • Method Detail

      • build

        public HealthcheckHeader build()
        Builds a HealthcheckHeader.
        Returns:
        the new HealthcheckHeader instance
      • addValue

        public HealthcheckHeader.Builder addValue​(String value)
        Adds an value to value.
        Parameters:
        value - the new value
        Returns:
        the HealthcheckHeader builder
      • value

        public HealthcheckHeader.Builder value​(List<String> value)
        Set the value. Existing value will be replaced.
        Parameters:
        value - the value
        Returns:
        the HealthcheckHeader builder