Class PurgeByHostsOptions.Builder

    • Constructor Detail

      • Builder

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

      • build

        public PurgeByHostsOptions build()
        Builds a PurgeByHostsOptions.
        Returns:
        the new PurgeByHostsOptions instance
      • addHosts

        public PurgeByHostsOptions.Builder addHosts​(String hosts)
        Adds an hosts to hosts.
        Parameters:
        hosts - the new hosts
        Returns:
        the PurgeByHostsOptions builder
      • hosts

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