Interface SecurityGroupRuleDescription.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SecurityGroupRuleDescription.Builder,SecurityGroupRuleDescription>, SdkBuilder<SecurityGroupRuleDescription.Builder,SecurityGroupRuleDescription>, SdkPojo
Enclosing class:
SecurityGroupRuleDescription

public static interface SecurityGroupRuleDescription.Builder extends SdkPojo, CopyableBuilder<SecurityGroupRuleDescription.Builder,SecurityGroupRuleDescription>
  • Method Details

    • ipv4Range

      The IPv4 ranges for the security group rule.

      Parameters:
      ipv4Range - The IPv4 ranges for the security group rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipv6Range

      The IPv6 ranges for the security group rule.

      Parameters:
      ipv6Range - The IPv6 ranges for the security group rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • prefixListId

      SecurityGroupRuleDescription.Builder prefixListId(String prefixListId)

      The ID of the prefix list for the security group rule.

      Parameters:
      prefixListId - The ID of the prefix list for the security group rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • protocol

      The IP protocol name (tcp, udp, icmp, icmpv6) or number.

      Parameters:
      protocol - The IP protocol name (tcp, udp, icmp, icmpv6) or number.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fromPort

      The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of -1 indicates all ICMP/ICMPv6 types.

      Parameters:
      fromPort - The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of -1 indicates all ICMP/ICMPv6 types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toPort

      The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes.

      Parameters:
      toPort - The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.