Class NetworkmanagerConnectPeerConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.networkmanager_connect_peer.NetworkmanagerConnectPeerConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkmanagerConnectPeerConfig>
- Enclosing interface:
- NetworkmanagerConnectPeerConfig
@Stability(Stable) public static final class NetworkmanagerConnectPeerConfig.Builder extends Object implements software.amazon.jsii.Builder<NetworkmanagerConnectPeerConfig>
A builder forNetworkmanagerConnectPeerConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
connectAttachmentId
@Stability(Stable) public NetworkmanagerConnectPeerConfig.Builder connectAttachmentId(String connectAttachmentId)
Sets the value ofNetworkmanagerConnectPeerConfig.getConnectAttachmentId()- Parameters:
connectAttachmentId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_connect_peer#connect_attachment_id NetworkmanagerConnectPeer#connect_attachment_id}. This parameter is required.- Returns:
this
-
insideCidrBlocks
@Stability(Stable) public NetworkmanagerConnectPeerConfig.Builder insideCidrBlocks(List<String> insideCidrBlocks)
Sets the value ofNetworkmanagerConnectPeerConfig.getInsideCidrBlocks()- Parameters:
insideCidrBlocks- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_connect_peer#inside_cidr_blocks NetworkmanagerConnectPeer#inside_cidr_blocks}. This parameter is required.- Returns:
this
-
peerAddress
@Stability(Stable) public NetworkmanagerConnectPeerConfig.Builder peerAddress(String peerAddress)
Sets the value ofNetworkmanagerConnectPeerConfig.getPeerAddress()- Parameters:
peerAddress- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_connect_peer#peer_address NetworkmanagerConnectPeer#peer_address}. This parameter is required.- Returns:
this
-
bgpOptions
@Stability(Stable) public NetworkmanagerConnectPeerConfig.Builder bgpOptions(NetworkmanagerConnectPeerBgpOptions bgpOptions)
Sets the value ofNetworkmanagerConnectPeerConfig.getBgpOptions()- Parameters:
bgpOptions- bgp_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_connect_peer#bgp_options NetworkmanagerConnectPeer#bgp_options}- Returns:
this
-
coreNetworkAddress
@Stability(Stable) public NetworkmanagerConnectPeerConfig.Builder coreNetworkAddress(String coreNetworkAddress)
Sets the value ofNetworkmanagerConnectPeerConfig.getCoreNetworkAddress()- Parameters:
coreNetworkAddress- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_connect_peer#core_network_address NetworkmanagerConnectPeer#core_network_address}.- Returns:
this
-
id
@Stability(Stable) public NetworkmanagerConnectPeerConfig.Builder id(String id)
Sets the value ofNetworkmanagerConnectPeerConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_connect_peer#id NetworkmanagerConnectPeer#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
tags
@Stability(Stable) public NetworkmanagerConnectPeerConfig.Builder tags(Map<String,String> tags)
Sets the value ofNetworkmanagerConnectPeerConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_connect_peer#tags NetworkmanagerConnectPeer#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public NetworkmanagerConnectPeerConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofNetworkmanagerConnectPeerConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_connect_peer#tags_all NetworkmanagerConnectPeer#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public NetworkmanagerConnectPeerConfig.Builder timeouts(NetworkmanagerConnectPeerTimeouts timeouts)
Sets the value ofNetworkmanagerConnectPeerConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_connect_peer#timeouts NetworkmanagerConnectPeer#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public NetworkmanagerConnectPeerConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public NetworkmanagerConnectPeerConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NetworkmanagerConnectPeerConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NetworkmanagerConnectPeerConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public NetworkmanagerConnectPeerConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public NetworkmanagerConnectPeerConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public NetworkmanagerConnectPeerConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public NetworkmanagerConnectPeerConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public NetworkmanagerConnectPeerConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public NetworkmanagerConnectPeerConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkmanagerConnectPeerConfig>- Returns:
- a new instance of
NetworkmanagerConnectPeerConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-