Class ActiveDirectoryDomainConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.active_directory_domain.ActiveDirectoryDomainConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ActiveDirectoryDomainConfig>
- Enclosing interface:
- ActiveDirectoryDomainConfig
@Stability(Stable) public static final class ActiveDirectoryDomainConfig.Builder extends Object implements software.amazon.jsii.Builder<ActiveDirectoryDomainConfig>
A builder forActiveDirectoryDomainConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
domainName
@Stability(Stable) public ActiveDirectoryDomainConfig.Builder domainName(String domainName)
Sets the value ofActiveDirectoryDomainConfig.getDomainName()- Parameters:
domainName- The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions of https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain#domain_name ActiveDirectoryDomain#domain_name}- Returns:
this
-
locations
@Stability(Stable) public ActiveDirectoryDomainConfig.Builder locations(List<String> locations)
Sets the value ofActiveDirectoryDomainConfig.getLocations()- Parameters:
locations- Locations where domain needs to be provisioned. This parameter is required. [regions][compute/docs/regions-zones/] e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain#locations ActiveDirectoryDomain#locations}- Returns:
this
-
reservedIpRange
@Stability(Stable) public ActiveDirectoryDomainConfig.Builder reservedIpRange(String reservedIpRange)
Sets the value ofActiveDirectoryDomainConfig.getReservedIpRange()- Parameters:
reservedIpRange- The CIDR range of internal addresses that are reserved for this domain. This parameter is required. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in authorizedNetworks Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain#reserved_ip_range ActiveDirectoryDomain#reserved_ip_range}- Returns:
this
-
admin
@Stability(Stable) public ActiveDirectoryDomainConfig.Builder admin(String admin)
Sets the value ofActiveDirectoryDomainConfig.getAdmin()- Parameters:
admin- The name of delegated administrator account used to perform Active Directory operations. If not specified, setupadmin will be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain#admin ActiveDirectoryDomain#admin}- Returns:
this
-
authorizedNetworks
@Stability(Stable) public ActiveDirectoryDomainConfig.Builder authorizedNetworks(List<String> authorizedNetworks)
Sets the value ofActiveDirectoryDomainConfig.getAuthorizedNetworks()- Parameters:
authorizedNetworks- The full names of the Google Compute Engine networks the domain instance is connected to. The domain is only available on networks listed in authorizedNetworks. If CIDR subnets overlap between networks, domain creation will fail. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain#authorized_networks ActiveDirectoryDomain#authorized_networks}- Returns:
this
-
id
@Stability(Stable) public ActiveDirectoryDomainConfig.Builder id(String id)
Sets the value ofActiveDirectoryDomainConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain#id ActiveDirectoryDomain#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
-
labels
@Stability(Stable) public ActiveDirectoryDomainConfig.Builder labels(Map<String,String> labels)
Sets the value ofActiveDirectoryDomainConfig.getLabels()- Parameters:
labels- Resource labels that can contain user-provided metadata. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain#labels ActiveDirectoryDomain#labels}- Returns:
this
-
project
@Stability(Stable) public ActiveDirectoryDomainConfig.Builder project(String project)
Sets the value ofActiveDirectoryDomainConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain#project ActiveDirectoryDomain#project}.- Returns:
this
-
timeouts
@Stability(Stable) public ActiveDirectoryDomainConfig.Builder timeouts(ActiveDirectoryDomainTimeouts timeouts)
Sets the value ofActiveDirectoryDomainConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain#timeouts ActiveDirectoryDomain#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public ActiveDirectoryDomainConfig.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 ActiveDirectoryDomainConfig.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 ActiveDirectoryDomainConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ActiveDirectoryDomainConfig.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 ActiveDirectoryDomainConfig.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 ActiveDirectoryDomainConfig.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 ActiveDirectoryDomainConfig.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 ActiveDirectoryDomainConfig.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 ActiveDirectoryDomainConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ActiveDirectoryDomainConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ActiveDirectoryDomainConfig>- Returns:
- a new instance of
ActiveDirectoryDomainConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-