Interface AwsEc2NetworkInterfaceViolation.Builder

  • Method Details

    • violationTarget

      AwsEc2NetworkInterfaceViolation.Builder violationTarget(String violationTarget)

      The resource ID of the network interface.

      Parameters:
      violationTarget - The resource ID of the network interface.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • violatingSecurityGroups

      AwsEc2NetworkInterfaceViolation.Builder violatingSecurityGroups(Collection<String> violatingSecurityGroups)

      List of security groups that violate the rules specified in the primary security group of the Firewall Manager policy.

      Parameters:
      violatingSecurityGroups - List of security groups that violate the rules specified in the primary security group of the Firewall Manager policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • violatingSecurityGroups

      AwsEc2NetworkInterfaceViolation.Builder violatingSecurityGroups(String... violatingSecurityGroups)

      List of security groups that violate the rules specified in the primary security group of the Firewall Manager policy.

      Parameters:
      violatingSecurityGroups - List of security groups that violate the rules specified in the primary security group of the Firewall Manager policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.