Class NetworkACLRulePatch.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public NetworkACLRulePatch build()
        Builds a NetworkACLRulePatch.
        Returns:
        the new NetworkACLRulePatch instance
      • code

        public NetworkACLRulePatch.Builder code​(long code)
        Set the code.
        Parameters:
        code - the code
        Returns:
        the NetworkACLRulePatch builder
      • destination

        public NetworkACLRulePatch.Builder destination​(String destination)
        Set the destination.
        Parameters:
        destination - the destination
        Returns:
        the NetworkACLRulePatch builder
      • destinationPortMax

        public NetworkACLRulePatch.Builder destinationPortMax​(long destinationPortMax)
        Set the destinationPortMax.
        Parameters:
        destinationPortMax - the destinationPortMax
        Returns:
        the NetworkACLRulePatch builder
      • destinationPortMin

        public NetworkACLRulePatch.Builder destinationPortMin​(long destinationPortMin)
        Set the destinationPortMin.
        Parameters:
        destinationPortMin - the destinationPortMin
        Returns:
        the NetworkACLRulePatch builder
      • direction

        public NetworkACLRulePatch.Builder direction​(String direction)
        Set the direction.
        Parameters:
        direction - the direction
        Returns:
        the NetworkACLRulePatch builder
      • protocol

        public NetworkACLRulePatch.Builder protocol​(String protocol)
        Set the protocol.
        Parameters:
        protocol - the protocol
        Returns:
        the NetworkACLRulePatch builder
      • sourcePortMax

        public NetworkACLRulePatch.Builder sourcePortMax​(long sourcePortMax)
        Set the sourcePortMax.
        Parameters:
        sourcePortMax - the sourcePortMax
        Returns:
        the NetworkACLRulePatch builder
      • sourcePortMin

        public NetworkACLRulePatch.Builder sourcePortMin​(long sourcePortMin)
        Set the sourcePortMin.
        Parameters:
        sourcePortMin - the sourcePortMin
        Returns:
        the NetworkACLRulePatch builder
      • type

        public NetworkACLRulePatch.Builder type​(long type)
        Set the type.
        Parameters:
        type - the type
        Returns:
        the NetworkACLRulePatch builder