Class ComputeRouterPeerMd5AuthenticationKey.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_router_peer.ComputeRouterPeerMd5AuthenticationKey.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeRouterPeerMd5AuthenticationKey>
- Enclosing interface:
- ComputeRouterPeerMd5AuthenticationKey
@Stability(Stable) public static final class ComputeRouterPeerMd5AuthenticationKey.Builder extends Object implements software.amazon.jsii.Builder<ComputeRouterPeerMd5AuthenticationKey>
A builder forComputeRouterPeerMd5AuthenticationKey
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeRouterPeerMd5AuthenticationKeybuild()Builds the configured instance.ComputeRouterPeerMd5AuthenticationKey.Builderkey(String key)Sets the value ofComputeRouterPeerMd5AuthenticationKey.getKey()ComputeRouterPeerMd5AuthenticationKey.Buildername(String name)Sets the value ofComputeRouterPeerMd5AuthenticationKey.getName()
-
-
-
Method Detail
-
key
@Stability(Stable) public ComputeRouterPeerMd5AuthenticationKey.Builder key(String key)
Sets the value ofComputeRouterPeerMd5AuthenticationKey.getKey()- Parameters:
key- Value of the key. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#key ComputeRouterPeer#key}- Returns:
this
-
name
@Stability(Stable) public ComputeRouterPeerMd5AuthenticationKey.Builder name(String name)
Sets the value ofComputeRouterPeerMd5AuthenticationKey.getName()- Parameters:
name- [REQUIRED] Name used to identify the key. This parameter is required. Must be unique within a router. Must be referenced by exactly one bgpPeer. Must comply with RFC1035. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer#name ComputeRouterPeer#name}- Returns:
this
-
build
@Stability(Stable) public ComputeRouterPeerMd5AuthenticationKey build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeRouterPeerMd5AuthenticationKey>- Returns:
- a new instance of
ComputeRouterPeerMd5AuthenticationKey - Throws:
NullPointerException- if any required attribute was not provided
-
-