Class ServiceNetworkingPeeredDnsDomain.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.service_networking_peered_dns_domain.ServiceNetworkingPeeredDnsDomain.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ServiceNetworkingPeeredDnsDomain>
- Enclosing class:
- ServiceNetworkingPeeredDnsDomain
@Stability(Stable) public static final class ServiceNetworkingPeeredDnsDomain.Builder extends Object implements software.amazon.jsii.Builder<ServiceNetworkingPeeredDnsDomain>
A fluent builder forServiceNetworkingPeeredDnsDomain.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceNetworkingPeeredDnsDomainbuild()ServiceNetworkingPeeredDnsDomain.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)ServiceNetworkingPeeredDnsDomain.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)ServiceNetworkingPeeredDnsDomain.Buildercount(com.hashicorp.cdktf.TerraformCount count)ServiceNetworkingPeeredDnsDomain.Buildercount(Number count)static ServiceNetworkingPeeredDnsDomain.Buildercreate(software.constructs.Construct scope, String id)ServiceNetworkingPeeredDnsDomain.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)ServiceNetworkingPeeredDnsDomain.BuilderdnsSuffix(String dnsSuffix)The DNS domain name suffix of the peered DNS domain.ServiceNetworkingPeeredDnsDomain.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)ServiceNetworkingPeeredDnsDomain.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_peered_dns_domain#id ServiceNetworkingPeeredDnsDomain#id}.ServiceNetworkingPeeredDnsDomain.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)ServiceNetworkingPeeredDnsDomain.Buildername(String name)Name of the peered DNS domain.ServiceNetworkingPeeredDnsDomain.Buildernetwork(String network)Network in the consumer project to peer with.ServiceNetworkingPeeredDnsDomain.Builderproject(String project)The ID of the project that the service account will be created in.ServiceNetworkingPeeredDnsDomain.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)ServiceNetworkingPeeredDnsDomain.Builderprovisioners(List<? extends Object> provisioners)ServiceNetworkingPeeredDnsDomain.Builderservice(String service)The name of the service to create a peered DNS domain for, e.g.ServiceNetworkingPeeredDnsDomain.Buildertimeouts(ServiceNetworkingPeeredDnsDomainTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static ServiceNetworkingPeeredDnsDomain.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
ServiceNetworkingPeeredDnsDomain.Builder.
-
connection
@Stability(Experimental) public ServiceNetworkingPeeredDnsDomain.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public ServiceNetworkingPeeredDnsDomain.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ServiceNetworkingPeeredDnsDomain.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ServiceNetworkingPeeredDnsDomain.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public ServiceNetworkingPeeredDnsDomain.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public ServiceNetworkingPeeredDnsDomain.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public ServiceNetworkingPeeredDnsDomain.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public ServiceNetworkingPeeredDnsDomain.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public ServiceNetworkingPeeredDnsDomain.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
dnsSuffix
@Stability(Stable) public ServiceNetworkingPeeredDnsDomain.Builder dnsSuffix(String dnsSuffix)
The DNS domain name suffix of the peered DNS domain.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_peered_dns_domain#dns_suffix ServiceNetworkingPeeredDnsDomain#dns_suffix}
- Parameters:
dnsSuffix- The DNS domain name suffix of the peered DNS domain. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public ServiceNetworkingPeeredDnsDomain.Builder name(String name)
Name of the peered DNS domain.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_peered_dns_domain#name ServiceNetworkingPeeredDnsDomain#name}
- Parameters:
name- Name of the peered DNS domain. This parameter is required.- Returns:
this
-
network
@Stability(Stable) public ServiceNetworkingPeeredDnsDomain.Builder network(String network)
Network in the consumer project to peer with.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_peered_dns_domain#network ServiceNetworkingPeeredDnsDomain#network}
- Parameters:
network- Network in the consumer project to peer with. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public ServiceNetworkingPeeredDnsDomain.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_peered_dns_domain#id ServiceNetworkingPeeredDnsDomain#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.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_peered_dns_domain#id ServiceNetworkingPeeredDnsDomain#id}. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public ServiceNetworkingPeeredDnsDomain.Builder project(String project)
The ID of the project that the service account will be created in. Defaults to the provider project configuration.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_peered_dns_domain#project ServiceNetworkingPeeredDnsDomain#project}
- Parameters:
project- The ID of the project that the service account will be created in. Defaults to the provider project configuration. This parameter is required.- Returns:
this
-
service
@Stability(Stable) public ServiceNetworkingPeeredDnsDomain.Builder service(String service)
The name of the service to create a peered DNS domain for, e.g. servicenetworking.googleapis.com.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_peered_dns_domain#service ServiceNetworkingPeeredDnsDomain#service}
- Parameters:
service- The name of the service to create a peered DNS domain for, e.g. servicenetworking.googleapis.com. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public ServiceNetworkingPeeredDnsDomain.Builder timeouts(ServiceNetworkingPeeredDnsDomainTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_networking_peered_dns_domain#timeouts ServiceNetworkingPeeredDnsDomain#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public ServiceNetworkingPeeredDnsDomain build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ServiceNetworkingPeeredDnsDomain>- Returns:
- a newly built instance of
ServiceNetworkingPeeredDnsDomain.
-
-