Class AsPrependPrefixArrayTemplate.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(Long length,
                       String policy)
        Instantiates a new builder with required properties.
        Parameters:
        length - the length
        policy - the policy
    • Method Detail

      • build

        public AsPrependPrefixArrayTemplate build()
        Builds a AsPrependPrefixArrayTemplate.
        Returns:
        the new AsPrependPrefixArrayTemplate instance
      • addSpecificPrefixes

        public AsPrependPrefixArrayTemplate.Builder addSpecificPrefixes​(String specificPrefixes)
        Adds an specificPrefixes to specificPrefixes.
        Parameters:
        specificPrefixes - the new specificPrefixes
        Returns:
        the AsPrependPrefixArrayTemplate builder
      • specificPrefixes

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