Class GkeonpremBareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigs.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gkeonprem_bare_metal_cluster.GkeonpremBareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigs.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeonpremBareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigs>
- Enclosing interface:
- GkeonpremBareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigs
@Stability(Stable) public static final class GkeonpremBareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigs.Builder extends Object implements software.amazon.jsii.Builder<GkeonpremBareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigs>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GkeonpremBareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigs.Builderasn(Number asn)Sets the value ofGkeonpremBareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigs.getAsn()GkeonpremBareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigsbuild()Builds the configured instance.GkeonpremBareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigs.BuildercontrolPlaneNodes(List<String> controlPlaneNodes)GkeonpremBareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigs.BuilderipAddress(String ipAddress)
-
-
-
Method Detail
-
asn
@Stability(Stable) public GkeonpremBareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigs.Builder asn(Number asn)
Sets the value ofGkeonpremBareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigs.getAsn()- Parameters:
asn- BGP autonomous system number (ASN) for the network that contains the external peer device. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_cluster#asn GkeonpremBareMetalCluster#asn}- Returns:
this
-
ipAddress
@Stability(Stable) public GkeonpremBareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigs.Builder ipAddress(String ipAddress)
- Parameters:
ipAddress- The IP address of the external peer device. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_cluster#ip_address GkeonpremBareMetalCluster#ip_address}- Returns:
this
-
controlPlaneNodes
@Stability(Stable) public GkeonpremBareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigs.Builder controlPlaneNodes(List<String> controlPlaneNodes)
Sets the value ofGkeonpremBareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigs.getControlPlaneNodes()- Parameters:
controlPlaneNodes- The IP address of the control plane node that connects to the external peer. If you don't specify any control plane nodes, all control plane nodes can connect to the external peer. If you specify one or more IP addresses, only the nodes specified participate in peering sessions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_cluster#control_plane_nodes GkeonpremBareMetalCluster#control_plane_nodes}- Returns:
this
-
build
@Stability(Stable) public GkeonpremBareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigs build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeonpremBareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigs>- Returns:
- a new instance of
GkeonpremBareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigs - Throws:
NullPointerException- if any required attribute was not provided
-
-