Class AlloydbInstanceNetworkConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.alloydb_instance.AlloydbInstanceNetworkConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlloydbInstanceNetworkConfig>
- Enclosing interface:
- AlloydbInstanceNetworkConfig
@Stability(Stable) public static final class AlloydbInstanceNetworkConfig.Builder extends Object implements software.amazon.jsii.Builder<AlloydbInstanceNetworkConfig>
A builder forAlloydbInstanceNetworkConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlloydbInstanceNetworkConfig.BuilderauthorizedExternalNetworks(com.hashicorp.cdktf.IResolvable authorizedExternalNetworks)Sets the value ofAlloydbInstanceNetworkConfig.getAuthorizedExternalNetworks()AlloydbInstanceNetworkConfig.BuilderauthorizedExternalNetworks(List<? extends AlloydbInstanceNetworkConfigAuthorizedExternalNetworks> authorizedExternalNetworks)Sets the value ofAlloydbInstanceNetworkConfig.getAuthorizedExternalNetworks()AlloydbInstanceNetworkConfigbuild()Builds the configured instance.AlloydbInstanceNetworkConfig.BuilderenablePublicIp(com.hashicorp.cdktf.IResolvable enablePublicIp)Sets the value ofAlloydbInstanceNetworkConfig.getEnablePublicIp()AlloydbInstanceNetworkConfig.BuilderenablePublicIp(Boolean enablePublicIp)Sets the value ofAlloydbInstanceNetworkConfig.getEnablePublicIp()
-
-
-
Method Detail
-
authorizedExternalNetworks
@Stability(Stable) public AlloydbInstanceNetworkConfig.Builder authorizedExternalNetworks(com.hashicorp.cdktf.IResolvable authorizedExternalNetworks)
Sets the value ofAlloydbInstanceNetworkConfig.getAuthorizedExternalNetworks()- Parameters:
authorizedExternalNetworks- authorized_external_networks block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_instance#authorized_external_networks AlloydbInstance#authorized_external_networks}- Returns:
this
-
authorizedExternalNetworks
@Stability(Stable) public AlloydbInstanceNetworkConfig.Builder authorizedExternalNetworks(List<? extends AlloydbInstanceNetworkConfigAuthorizedExternalNetworks> authorizedExternalNetworks)
Sets the value ofAlloydbInstanceNetworkConfig.getAuthorizedExternalNetworks()- Parameters:
authorizedExternalNetworks- authorized_external_networks block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_instance#authorized_external_networks AlloydbInstance#authorized_external_networks}- Returns:
this
-
enablePublicIp
@Stability(Stable) public AlloydbInstanceNetworkConfig.Builder enablePublicIp(Boolean enablePublicIp)
Sets the value ofAlloydbInstanceNetworkConfig.getEnablePublicIp()- Parameters:
enablePublicIp- Enabling public ip for the instance. If a user wishes to disable this, please also clear the list of the authorized external networks set on the same instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_instance#enable_public_ip AlloydbInstance#enable_public_ip}- Returns:
this
-
enablePublicIp
@Stability(Stable) public AlloydbInstanceNetworkConfig.Builder enablePublicIp(com.hashicorp.cdktf.IResolvable enablePublicIp)
Sets the value ofAlloydbInstanceNetworkConfig.getEnablePublicIp()- Parameters:
enablePublicIp- Enabling public ip for the instance. If a user wishes to disable this, please also clear the list of the authorized external networks set on the same instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_instance#enable_public_ip AlloydbInstance#enable_public_ip}- Returns:
this
-
build
@Stability(Stable) public AlloydbInstanceNetworkConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlloydbInstanceNetworkConfig>- Returns:
- a new instance of
AlloydbInstanceNetworkConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-