Interface AnalysisSecurityGroupRule.Builder

    • Method Detail

      • cidr

        AnalysisSecurityGroupRule.Builder cidr​(String cidr)

        The IPv4 address range, in CIDR notation.

        Parameters:
        cidr - The IPv4 address range, in CIDR notation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • direction

        AnalysisSecurityGroupRule.Builder direction​(String direction)

        The direction. The following are the possible values:

        • egress

        • ingress

        Parameters:
        direction - The direction. The following are the possible values:

        • egress

        • ingress

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupId

        AnalysisSecurityGroupRule.Builder securityGroupId​(String securityGroupId)

        The security group ID.

        Parameters:
        securityGroupId - The security group ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • portRange

        AnalysisSecurityGroupRule.Builder portRange​(PortRange portRange)

        The port range.

        Parameters:
        portRange - The port range.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • prefixListId

        AnalysisSecurityGroupRule.Builder prefixListId​(String prefixListId)

        The prefix list ID.

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

        AnalysisSecurityGroupRule.Builder protocol​(String protocol)

        The protocol name.

        Parameters:
        protocol - The protocol name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.