Class HealthcareConsentStore.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static HealthcareConsentStore.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 HealthcareConsentStore.Builder.
      • connection

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

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

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

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

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

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

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

        @Stability(Experimental)
        public HealthcareConsentStore.Builder provisioners​(List<? extends Object> provisioners)
        Parameters:
        provisioners - This parameter is required.
        Returns:
        this
      • dataset

        @Stability(Stable)
        public HealthcareConsentStore.Builder dataset​(String dataset)
        Identifies the dataset addressed by this request. Must be in the format 'projects/{project}/locations/{location}/datasets/{dataset}'.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/healthcare_consent_store#dataset HealthcareConsentStore#dataset}

        Parameters:
        dataset - Identifies the dataset addressed by this request. Must be in the format 'projects/{project}/locations/{location}/datasets/{dataset}'. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public HealthcareConsentStore.Builder name​(String name)
        The name of this ConsentStore, for example: "consent1".

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/healthcare_consent_store#name HealthcareConsentStore#name}

        Parameters:
        name - The name of this ConsentStore, for example: "consent1". This parameter is required.
        Returns:
        this
      • defaultConsentTtl

        @Stability(Stable)
        public HealthcareConsentStore.Builder defaultConsentTtl​(String defaultConsentTtl)
        Default time to live for consents in this store.

        Must be at least 24 hours. Updating this field will not affect the expiration time of existing consents. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/healthcare_consent_store#default_consent_ttl HealthcareConsentStore#default_consent_ttl}

        Parameters:
        defaultConsentTtl - Default time to live for consents in this store. This parameter is required.
        Returns:
        this
      • enableConsentCreateOnUpdate

        @Stability(Stable)
        public HealthcareConsentStore.Builder enableConsentCreateOnUpdate​(Boolean enableConsentCreateOnUpdate)
        If true, [consents.patch] [google.cloud.healthcare.v1.consent.UpdateConsent] creates the consent if it does not already exist.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/healthcare_consent_store#enable_consent_create_on_update HealthcareConsentStore#enable_consent_create_on_update}

        Parameters:
        enableConsentCreateOnUpdate - If true, [consents.patch] [google.cloud.healthcare.v1.consent.UpdateConsent] creates the consent if it does not already exist. This parameter is required.
        Returns:
        this
      • enableConsentCreateOnUpdate

        @Stability(Stable)
        public HealthcareConsentStore.Builder enableConsentCreateOnUpdate​(com.hashicorp.cdktf.IResolvable enableConsentCreateOnUpdate)
        If true, [consents.patch] [google.cloud.healthcare.v1.consent.UpdateConsent] creates the consent if it does not already exist.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/healthcare_consent_store#enable_consent_create_on_update HealthcareConsentStore#enable_consent_create_on_update}

        Parameters:
        enableConsentCreateOnUpdate - If true, [consents.patch] [google.cloud.healthcare.v1.consent.UpdateConsent] creates the consent if it does not already exist. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public HealthcareConsentStore.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/healthcare_consent_store#id HealthcareConsentStore#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/healthcare_consent_store#id HealthcareConsentStore#id}. This parameter is required.
        Returns:
        this
      • labels

        @Stability(Stable)
        public HealthcareConsentStore.Builder labels​(Map<String,​String> labels)
        User-supplied key-value pairs used to organize Consent stores.

        Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: '[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}' Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: '[\p{Ll}\p{Lo}\p{N}_-]{0,63}' No more than 64 labels can be associated with a given store. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. **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/healthcare_consent_store#labels HealthcareConsentStore#labels}

        Parameters:
        labels - User-supplied key-value pairs used to organize Consent stores. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public HealthcareConsentStore.Builder timeouts​(HealthcareConsentStoreTimeouts timeouts)
        timeouts block.

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

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