Class ComputeRouterBgpAdvertisedIpRanges.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_router.ComputeRouterBgpAdvertisedIpRanges.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeRouterBgpAdvertisedIpRanges>
- Enclosing interface:
- ComputeRouterBgpAdvertisedIpRanges
@Stability(Stable) public static final class ComputeRouterBgpAdvertisedIpRanges.Builder extends Object implements software.amazon.jsii.Builder<ComputeRouterBgpAdvertisedIpRanges>
A builder forComputeRouterBgpAdvertisedIpRanges
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeRouterBgpAdvertisedIpRangesbuild()Builds the configured instance.ComputeRouterBgpAdvertisedIpRanges.Builderdescription(String description)Sets the value ofComputeRouterBgpAdvertisedIpRanges.getDescription()ComputeRouterBgpAdvertisedIpRanges.Builderrange(String range)Sets the value ofComputeRouterBgpAdvertisedIpRanges.getRange()
-
-
-
Method Detail
-
range
@Stability(Stable) public ComputeRouterBgpAdvertisedIpRanges.Builder range(String range)
Sets the value ofComputeRouterBgpAdvertisedIpRanges.getRange()- Parameters:
range- The IP range to advertise. The value must be a CIDR-formatted string. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router#range ComputeRouter#range}- Returns:
this
-
description
@Stability(Stable) public ComputeRouterBgpAdvertisedIpRanges.Builder description(String description)
Sets the value ofComputeRouterBgpAdvertisedIpRanges.getDescription()- Parameters:
description- User-specified description for the IP range. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router#description ComputeRouter#description}- Returns:
this
-
build
@Stability(Stable) public ComputeRouterBgpAdvertisedIpRanges build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeRouterBgpAdvertisedIpRanges>- Returns:
- a new instance of
ComputeRouterBgpAdvertisedIpRanges - Throws:
NullPointerException- if any required attribute was not provided
-
-