Interface AwsEc2NetworkInterfaceViolation.Builder

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

public static interface AwsEc2NetworkInterfaceViolation.Builder extends SdkPojo, CopyableBuilder<AwsEc2NetworkInterfaceViolation.Builder,AwsEc2NetworkInterfaceViolation>
  • 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.