Class ComputeRouterNatRulesAction.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • sourceNatActiveIps

        @Stability(Stable)
        public ComputeRouterNatRulesAction.Builder sourceNatActiveIps​(List<String> sourceNatActiveIps)
        Parameters:
        sourceNatActiveIps - A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#source_nat_active_ips ComputeRouterNat#source_nat_active_ips}
        Returns:
        this
      • sourceNatDrainIps

        @Stability(Stable)
        public ComputeRouterNatRulesAction.Builder sourceNatDrainIps​(List<String> sourceNatDrainIps)
        Parameters:
        sourceNatDrainIps - A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#source_nat_drain_ips ComputeRouterNat#source_nat_drain_ips}
        Returns:
        this