Class CreateV2PolicyOptions.Builder

  • Enclosing class:
    CreateV2PolicyOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(Control control,
                       java.lang.String type)
        Instantiates a new builder with required properties.
        Parameters:
        control - the control
        type - the type
    • Method Detail

      • build

        public CreateV2PolicyOptions build()
        Builds a CreateV2PolicyOptions.
        Returns:
        the new CreateV2PolicyOptions instance
      • type

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

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

        public CreateV2PolicyOptions.Builder pattern​(java.lang.String pattern)
        Set the pattern.
        Parameters:
        pattern - the pattern
        Returns:
        the CreateV2PolicyOptions builder
      • acceptLanguage

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