Class PrivatecaCertificateTemplate.Builder

    • Method Detail

      • connection

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

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

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

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

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

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

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

        @Stability(Stable)
        public PrivatecaCertificateTemplate.Builder location​(String location)
        The location for the resource.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_template#location PrivatecaCertificateTemplate#location}

        Parameters:
        location - The location for the resource. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public PrivatecaCertificateTemplate.Builder name​(String name)
        The resource name for this CertificateTemplate in the format 'projects/* /locations/* /certificateTemplates/*'.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_template#name PrivatecaCertificateTemplate#name} Note: The above comment contained a comment block ending sequence (* followed by /). We have introduced a space between to prevent syntax errors. Please ignore the space.

        Parameters:
        name - The resource name for this CertificateTemplate in the format 'projects/* /locations/* /certificateTemplates/*'. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public PrivatecaCertificateTemplate.Builder description​(String description)
        Optional. A human-readable description of scenarios this template is intended for.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_template#description PrivatecaCertificateTemplate#description}

        Parameters:
        description - Optional. A human-readable description of scenarios this template is intended for. This parameter is required.
        Returns:
        this
      • id

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

        @Stability(Stable)
        public PrivatecaCertificateTemplate.Builder identityConstraints​(PrivatecaCertificateTemplateIdentityConstraints identityConstraints)
        identity_constraints block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_template#identity_constraints PrivatecaCertificateTemplate#identity_constraints}

        Parameters:
        identityConstraints - identity_constraints block. This parameter is required.
        Returns:
        this
      • labels

        @Stability(Stable)
        public PrivatecaCertificateTemplate.Builder labels​(Map<String,​String> labels)
        Optional. Labels with user-defined 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/privateca_certificate_template#labels PrivatecaCertificateTemplate#labels}

        Parameters:
        labels - Optional. Labels with user-defined metadata. This parameter is required.
        Returns:
        this
      • maximumLifetime

        @Stability(Stable)
        public PrivatecaCertificateTemplate.Builder maximumLifetime​(String maximumLifetime)
        Optional.

        The maximum lifetime allowed for all issued certificates that use this template. If the issuing CaPool's IssuancePolicy specifies a maximum lifetime the minimum of the two durations will be the maximum lifetime for issued. Note that if the issuing CertificateAuthority expires before a Certificate's requested maximum_lifetime, the effective lifetime will be explicitly truncated to match it. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_template#maximum_lifetime PrivatecaCertificateTemplate#maximum_lifetime}

        Parameters:
        maximumLifetime - Optional. This parameter is required.
        Returns:
        this
      • passthroughExtensions

        @Stability(Stable)
        public PrivatecaCertificateTemplate.Builder passthroughExtensions​(PrivatecaCertificateTemplatePassthroughExtensions passthroughExtensions)
        passthrough_extensions block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_template#passthrough_extensions PrivatecaCertificateTemplate#passthrough_extensions}

        Parameters:
        passthroughExtensions - passthrough_extensions block. This parameter is required.
        Returns:
        this
      • predefinedValues

        @Stability(Stable)
        public PrivatecaCertificateTemplate.Builder predefinedValues​(PrivatecaCertificateTemplatePredefinedValues predefinedValues)
        predefined_values block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_template#predefined_values PrivatecaCertificateTemplate#predefined_values}

        Parameters:
        predefinedValues - predefined_values block. This parameter is required.
        Returns:
        this
      • project

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

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

        @Stability(Stable)
        public PrivatecaCertificateTemplate.Builder timeouts​(PrivatecaCertificateTemplateTimeouts timeouts)
        timeouts block.

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

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