Interface GetViolationDetailsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<GetViolationDetailsRequest.Builder,GetViolationDetailsRequest>, FmsRequest.Builder, SdkBuilder<GetViolationDetailsRequest.Builder,GetViolationDetailsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
GetViolationDetailsRequest

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

    • policyId

      The ID of the Firewall Manager policy that you want the details for. You can get violation details for the following policy types:

      • DNS Firewall

      • Imported Network Firewall

      • Network Firewall

      • Security group content audit

      • Network ACL

      • Third-party firewall

      Parameters:
      policyId - The ID of the Firewall Manager policy that you want the details for. You can get violation details for the following policy types:

      • DNS Firewall

      • Imported Network Firewall

      • Network Firewall

      • Security group content audit

      • Network ACL

      • Third-party firewall

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

      GetViolationDetailsRequest.Builder memberAccount(String memberAccount)

      The Amazon Web Services account ID that you want the details for.

      Parameters:
      memberAccount - The Amazon Web Services account ID that you want the details for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceId

      The ID of the resource that has violations.

      Parameters:
      resourceId - The ID of the resource that has violations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      GetViolationDetailsRequest.Builder resourceType(String resourceType)

      The resource type. This is in the format shown in the Amazon Web Services Resource Types Reference. Supported resource types are: AWS::EC2::Instance, AWS::EC2::NetworkInterface, AWS::EC2::SecurityGroup, AWS::NetworkFirewall::FirewallPolicy, and AWS::EC2::Subnet.

      Parameters:
      resourceType - The resource type. This is in the format shown in the Amazon Web Services Resource Types Reference. Supported resource types are: AWS::EC2::Instance, AWS::EC2::NetworkInterface, AWS::EC2::SecurityGroup, AWS::NetworkFirewall::FirewallPolicy, and AWS::EC2::Subnet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      GetViolationDetailsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.