Interface AmazonMachineImageSecurityGroup.Builder

  • Method Details

    • protocol

      The IP protocol name, such as tcp.

      Parameters:
      protocol - The IP protocol name, such as tcp.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fromPort

      The start of the port range.

      Parameters:
      fromPort - The start of the port range.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toPort

      The end of the port range.

      Parameters:
      toPort - The end of the port range.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cidrIpAddresses

      AmazonMachineImageSecurityGroup.Builder cidrIpAddresses(Collection<String> cidrIpAddresses)

      The IP address ranges in CIDR format.

      Parameters:
      cidrIpAddresses - The IP address ranges in CIDR format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cidrIpAddresses

      AmazonMachineImageSecurityGroup.Builder cidrIpAddresses(String... cidrIpAddresses)

      The IP address ranges in CIDR format.

      Parameters:
      cidrIpAddresses - The IP address ranges in CIDR format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.