Class ActiveDirectoryDomainTrustConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • domain

        @Stability(Stable)
        public ActiveDirectoryDomainTrustConfig.Builder domain​(String domain)
        Parameters:
        domain - 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_trust#domain ActiveDirectoryDomainTrust#domain}
        Returns:
        this
      • targetDnsIpAddresses

        @Stability(Stable)
        public ActiveDirectoryDomainTrustConfig.Builder targetDnsIpAddresses​(List<String> targetDnsIpAddresses)
        Parameters:
        targetDnsIpAddresses - The target DNS server IP addresses which can resolve the remote domain involved in the trust. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain_trust#target_dns_ip_addresses ActiveDirectoryDomainTrust#target_dns_ip_addresses}
        Returns:
        this
      • targetDomainName

        @Stability(Stable)
        public ActiveDirectoryDomainTrustConfig.Builder targetDomainName​(String targetDomainName)
        Parameters:
        targetDomainName - The fully qualified target domain name which will be in trust with the current domain. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain_trust#target_domain_name ActiveDirectoryDomainTrust#target_domain_name}
        Returns:
        this
      • trustDirection

        @Stability(Stable)
        public ActiveDirectoryDomainTrustConfig.Builder trustDirection​(String trustDirection)
        Parameters:
        trustDirection - The trust direction, which decides if the current domain is trusted, trusting, or both. Possible values: ["INBOUND", "OUTBOUND", "BIDIRECTIONAL"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain_trust#trust_direction ActiveDirectoryDomainTrust#trust_direction}
        Returns:
        this
      • trustHandshakeSecret

        @Stability(Stable)
        public ActiveDirectoryDomainTrustConfig.Builder trustHandshakeSecret​(String trustHandshakeSecret)
        Parameters:
        trustHandshakeSecret - The trust secret used for the handshake with the target domain. This will not be stored. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain_trust#trust_handshake_secret ActiveDirectoryDomainTrust#trust_handshake_secret}
        Returns:
        this
      • trustType

        @Stability(Stable)
        public ActiveDirectoryDomainTrustConfig.Builder trustType​(String trustType)
        Parameters:
        trustType - The type of trust represented by the trust resource. Possible values: ["FOREST", "EXTERNAL"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain_trust#trust_type ActiveDirectoryDomainTrust#trust_type}
        Returns:
        this
      • id

        @Stability(Stable)
        public ActiveDirectoryDomainTrustConfig.Builder id​(String id)
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain_trust#id ActiveDirectoryDomainTrust#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
      • selectiveAuthentication

        @Stability(Stable)
        public ActiveDirectoryDomainTrustConfig.Builder selectiveAuthentication​(Boolean selectiveAuthentication)
        Parameters:
        selectiveAuthentication - Whether the trusted side has forest/domain wide access or selective access to an approved set of resources. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain_trust#selective_authentication ActiveDirectoryDomainTrust#selective_authentication}
        Returns:
        this
      • selectiveAuthentication

        @Stability(Stable)
        public ActiveDirectoryDomainTrustConfig.Builder selectiveAuthentication​(com.hashicorp.cdktf.IResolvable selectiveAuthentication)
        Parameters:
        selectiveAuthentication - Whether the trusted side has forest/domain wide access or selective access to an approved set of resources. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain_trust#selective_authentication ActiveDirectoryDomainTrust#selective_authentication}
        Returns:
        this
      • connection

        @Stability(Experimental)
        public ActiveDirectoryDomainTrustConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public ActiveDirectoryDomainTrustConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public ActiveDirectoryDomainTrustConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public ActiveDirectoryDomainTrustConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public ActiveDirectoryDomainTrustConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public ActiveDirectoryDomainTrustConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public ActiveDirectoryDomainTrustConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public ActiveDirectoryDomainTrustConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this