Class ComputeRouterPeerAdvertisedIpRanges.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_router_peer.ComputeRouterPeerAdvertisedIpRanges.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeRouterPeerAdvertisedIpRanges>
- Enclosing interface:
- ComputeRouterPeerAdvertisedIpRanges
@Stability(Stable) public static final class ComputeRouterPeerAdvertisedIpRanges.Builder extends Object implements software.amazon.jsii.Builder<ComputeRouterPeerAdvertisedIpRanges>
A builder forComputeRouterPeerAdvertisedIpRanges
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeRouterPeerAdvertisedIpRangesbuild()Builds the configured instance.ComputeRouterPeerAdvertisedIpRanges.Builderdescription(String description)Sets the value ofComputeRouterPeerAdvertisedIpRanges.getDescription()ComputeRouterPeerAdvertisedIpRanges.Builderrange(String range)Sets the value ofComputeRouterPeerAdvertisedIpRanges.getRange()
-
-
-
Method Detail
-
range
@Stability(Stable) public ComputeRouterPeerAdvertisedIpRanges.Builder range(String range)
Sets the value ofComputeRouterPeerAdvertisedIpRanges.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_peer#range ComputeRouterPeer#range}- Returns:
this
-
description
@Stability(Stable) public ComputeRouterPeerAdvertisedIpRanges.Builder description(String description)
Sets the value ofComputeRouterPeerAdvertisedIpRanges.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_peer#description ComputeRouterPeer#description}- Returns:
this
-
build
@Stability(Stable) public ComputeRouterPeerAdvertisedIpRanges build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeRouterPeerAdvertisedIpRanges>- Returns:
- a new instance of
ComputeRouterPeerAdvertisedIpRanges - Throws:
NullPointerException- if any required attribute was not provided
-
-