Class CreateNetworkAclRuleOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(String networkAclId,
                       NetworkACLRulePrototype networkAclRulePrototype)
        Instantiates a new builder with required properties.
        Parameters:
        networkAclId - the networkAclId
        networkAclRulePrototype - the networkAclRulePrototype
    • Method Detail

      • build

        public CreateNetworkAclRuleOptions build()
        Builds a CreateNetworkAclRuleOptions.
        Returns:
        the new CreateNetworkAclRuleOptions instance
      • networkAclId

        public CreateNetworkAclRuleOptions.Builder networkAclId​(String networkAclId)
        Set the networkAclId.
        Parameters:
        networkAclId - the networkAclId
        Returns:
        the CreateNetworkAclRuleOptions builder
      • networkAclRulePrototype

        public CreateNetworkAclRuleOptions.Builder networkAclRulePrototype​(NetworkACLRulePrototype networkAclRulePrototype)
        Set the networkAclRulePrototype.
        Parameters:
        networkAclRulePrototype - the networkAclRulePrototype
        Returns:
        the CreateNetworkAclRuleOptions builder