Class CreateFirewallRulesOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(String xAuthUserToken,
                       String crn,
                       String zoneIdentifier)
        Instantiates a new builder with required properties.
        Parameters:
        xAuthUserToken - the xAuthUserToken
        crn - the crn
        zoneIdentifier - the zoneIdentifier
    • Method Detail

      • build

        public CreateFirewallRulesOptions build()
        Builds a CreateFirewallRulesOptions.
        Returns:
        the new CreateFirewallRulesOptions instance
      • addFirewallRuleInputWithFilterId

        public CreateFirewallRulesOptions.Builder addFirewallRuleInputWithFilterId​(FirewallRuleInputWithFilterId firewallRuleInputWithFilterId)
        Adds an firewallRuleInputWithFilterId to firewallRuleInputWithFilterId.
        Parameters:
        firewallRuleInputWithFilterId - the new firewallRuleInputWithFilterId
        Returns:
        the CreateFirewallRulesOptions builder
      • xAuthUserToken

        public CreateFirewallRulesOptions.Builder xAuthUserToken​(String xAuthUserToken)
        Set the xAuthUserToken.
        Parameters:
        xAuthUserToken - the xAuthUserToken
        Returns:
        the CreateFirewallRulesOptions builder
      • zoneIdentifier

        public CreateFirewallRulesOptions.Builder zoneIdentifier​(String zoneIdentifier)
        Set the zoneIdentifier.
        Parameters:
        zoneIdentifier - the zoneIdentifier
        Returns:
        the CreateFirewallRulesOptions builder
      • firewallRuleInputWithFilterId

        public CreateFirewallRulesOptions.Builder firewallRuleInputWithFilterId​(List<FirewallRuleInputWithFilterId> firewallRuleInputWithFilterId)
        Set the firewallRuleInputWithFilterId. Existing firewallRuleInputWithFilterId will be replaced.
        Parameters:
        firewallRuleInputWithFilterId - the firewallRuleInputWithFilterId
        Returns:
        the CreateFirewallRulesOptions builder