Class ActiveDirectoryDomainTrust.Builder

    • Method Detail

      • connection

        @Stability(Experimental)
        public ActiveDirectoryDomainTrust.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public ActiveDirectoryDomainTrust.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public ActiveDirectoryDomainTrust.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public ActiveDirectoryDomainTrust.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public ActiveDirectoryDomainTrust.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public ActiveDirectoryDomainTrust.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public ActiveDirectoryDomainTrust.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • domain

        @Stability(Stable)
        public ActiveDirectoryDomainTrust.Builder domain​(String 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.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain_trust#domain ActiveDirectoryDomainTrust#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.
        Returns:
        this
      • targetDnsIpAddresses

        @Stability(Stable)
        public ActiveDirectoryDomainTrust.Builder targetDnsIpAddresses​(List<String> targetDnsIpAddresses)
        The target DNS server IP addresses which can resolve the remote domain involved in the trust.

        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}

        Parameters:
        targetDnsIpAddresses - The target DNS server IP addresses which can resolve the remote domain involved in the trust. This parameter is required.
        Returns:
        this
      • targetDomainName

        @Stability(Stable)
        public ActiveDirectoryDomainTrust.Builder targetDomainName​(String targetDomainName)
        The fully qualified target domain name which will be in trust with the current domain.

        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}

        Parameters:
        targetDomainName - The fully qualified target domain name which will be in trust with the current domain. This parameter is required.
        Returns:
        this
      • trustDirection

        @Stability(Stable)
        public ActiveDirectoryDomainTrust.Builder trustDirection​(String trustDirection)
        The trust direction, which decides if the current domain is trusted, trusting, or both. Possible values: ["INBOUND", "OUTBOUND", "BIDIRECTIONAL"].

        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}

        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.
        Returns:
        this
      • trustHandshakeSecret

        @Stability(Stable)
        public ActiveDirectoryDomainTrust.Builder trustHandshakeSecret​(String trustHandshakeSecret)
        The trust secret used for the handshake with the target domain. This will not be stored.

        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}

        Parameters:
        trustHandshakeSecret - The trust secret used for the handshake with the target domain. This will not be stored. This parameter is required.
        Returns:
        this
      • trustType

        @Stability(Stable)
        public ActiveDirectoryDomainTrust.Builder trustType​(String trustType)
        The type of trust represented by the trust resource. Possible values: ["FOREST", "EXTERNAL"].

        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}

        Parameters:
        trustType - The type of trust represented by the trust resource. Possible values: ["FOREST", "EXTERNAL"]. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public ActiveDirectoryDomainTrust.Builder id​(String 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.

        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}. This parameter is required.
        Returns:
        this
      • project

        @Stability(Stable)
        public ActiveDirectoryDomainTrust.Builder project​(String project)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain_trust#project ActiveDirectoryDomainTrust#project}.

        Parameters:
        project - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain_trust#project ActiveDirectoryDomainTrust#project}. This parameter is required.
        Returns:
        this
      • selectiveAuthentication

        @Stability(Stable)
        public ActiveDirectoryDomainTrust.Builder selectiveAuthentication​(Boolean 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}

        Parameters:
        selectiveAuthentication - Whether the trusted side has forest/domain wide access or selective access to an approved set of resources. This parameter is required.
        Returns:
        this
      • selectiveAuthentication

        @Stability(Stable)
        public ActiveDirectoryDomainTrust.Builder selectiveAuthentication​(com.hashicorp.cdktf.IResolvable 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}

        Parameters:
        selectiveAuthentication - Whether the trusted side has forest/domain wide access or selective access to an approved set of resources. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public ActiveDirectoryDomainTrust.Builder timeouts​(ActiveDirectoryDomainTrustTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/active_directory_domain_trust#timeouts ActiveDirectoryDomainTrust#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this