Class UpdateFirewllRulesOptions.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 UpdateFirewllRulesOptions build()
        Builds a UpdateFirewllRulesOptions.
        Returns:
        the new UpdateFirewllRulesOptions instance
      • addFirewallRulesUpdateInputItem

        public UpdateFirewllRulesOptions.Builder addFirewallRulesUpdateInputItem​(FirewallRulesUpdateInputItem firewallRulesUpdateInputItem)
        Adds an firewallRulesUpdateInputItem to firewallRulesUpdateInputItem.
        Parameters:
        firewallRulesUpdateInputItem - the new firewallRulesUpdateInputItem
        Returns:
        the UpdateFirewllRulesOptions builder
      • xAuthUserToken

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

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

        public UpdateFirewllRulesOptions.Builder firewallRulesUpdateInputItem​(List<FirewallRulesUpdateInputItem> firewallRulesUpdateInputItem)
        Set the firewallRulesUpdateInputItem. Existing firewallRulesUpdateInputItem will be replaced.
        Parameters:
        firewallRulesUpdateInputItem - the firewallRulesUpdateInputItem
        Returns:
        the UpdateFirewllRulesOptions builder