Interface DeleteFirewallRequest.Builder

  • Method Details

    • firewallName

      DeleteFirewallRequest.Builder firewallName(String firewallName)

      The descriptive name of the firewall. You can't change the name of a firewall after you create it.

      You must specify the ARN or the name, and you can specify both.

      Parameters:
      firewallName - The descriptive name of the firewall. You can't change the name of a firewall after you create it.

      You must specify the ARN or the name, and you can specify both.

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

      DeleteFirewallRequest.Builder firewallArn(String firewallArn)

      The Amazon Resource Name (ARN) of the firewall.

      You must specify the ARN or the name, and you can specify both.

      Parameters:
      firewallArn - The Amazon Resource Name (ARN) of the firewall.

      You must specify the ARN or the name, and you can specify both.

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

      DeleteFirewallRequest.Builder firewallType(String firewallType)

      The type of firewall that the request targets. Network Firewall supports the following firewall types:

      • IGW_FIREWALL - An internet gateway firewall, which Amazon Web Services Network Security Manager creates and manages for a VPC.

      • FIREWALL - A standard Network Firewall firewall.

      If you specify the firewall ARN, the type must match the resource type in the ARN. If you specify only the firewall name, Network Firewall uses this value to identify the firewall. If you don't specify a type, the default is FIREWALL.

      Parameters:
      firewallType - The type of firewall that the request targets. Network Firewall supports the following firewall types:

      • IGW_FIREWALL - An internet gateway firewall, which Amazon Web Services Network Security Manager creates and manages for a VPC.

      • FIREWALL - A standard Network Firewall firewall.

      If you specify the firewall ARN, the type must match the resource type in the ARN. If you specify only the firewall name, Network Firewall uses this value to identify the firewall. If you don't specify a type, the default is FIREWALL.

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

      DeleteFirewallRequest.Builder firewallType(FirewallType firewallType)

      The type of firewall that the request targets. Network Firewall supports the following firewall types:

      • IGW_FIREWALL - An internet gateway firewall, which Amazon Web Services Network Security Manager creates and manages for a VPC.

      • FIREWALL - A standard Network Firewall firewall.

      If you specify the firewall ARN, the type must match the resource type in the ARN. If you specify only the firewall name, Network Firewall uses this value to identify the firewall. If you don't specify a type, the default is FIREWALL.

      Parameters:
      firewallType - The type of firewall that the request targets. Network Firewall supports the following firewall types:

      • IGW_FIREWALL - An internet gateway firewall, which Amazon Web Services Network Security Manager creates and manages for a VPC.

      • FIREWALL - A standard Network Firewall firewall.

      If you specify the firewall ARN, the type must match the resource type in the ARN. If you specify only the firewall name, Network Firewall uses this value to identify the firewall. If you don't specify a type, the default is FIREWALL.

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

      DeleteFirewallRequest.Builder deleteAssociatedNatGateways(Boolean deleteAssociatedNatGateways)

      Specifies whether to delete the NAT gateways that Network Firewall created for a proxy mode firewall when you delete the firewall. You can choose from the following values:

      • FALSE - Network Firewall detaches the NAT gateways from the firewall and keeps them. This is the default.

      • TRUE - Network Firewall also deletes the NAT gateways. The firewall status stays DELETING until they're deleted. You need permission to call the Amazon EC2 DeleteNatGateway action.

      You can't specify TRUE for a firewall that isn't a proxy mode firewall.

      Parameters:
      deleteAssociatedNatGateways - Specifies whether to delete the NAT gateways that Network Firewall created for a proxy mode firewall when you delete the firewall. You can choose from the following values:

      • FALSE - Network Firewall detaches the NAT gateways from the firewall and keeps them. This is the default.

      • TRUE - Network Firewall also deletes the NAT gateways. The firewall status stays DELETING until they're deleted. You need permission to call the Amazon EC2 DeleteNatGateway action.

      You can't specify TRUE for a firewall that isn't a proxy mode firewall.

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

      DeleteFirewallRequest.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.