Class PrivatecaCertificateTemplate.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.privateca_certificate_template.PrivatecaCertificateTemplate.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PrivatecaCertificateTemplate>
- Enclosing class:
- PrivatecaCertificateTemplate
@Stability(Stable) public static final class PrivatecaCertificateTemplate.Builder extends Object implements software.amazon.jsii.Builder<PrivatecaCertificateTemplate>
A fluent builder forPrivatecaCertificateTemplate.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivatecaCertificateTemplatebuild()PrivatecaCertificateTemplate.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)PrivatecaCertificateTemplate.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)PrivatecaCertificateTemplate.Buildercount(com.hashicorp.cdktf.TerraformCount count)PrivatecaCertificateTemplate.Buildercount(Number count)static PrivatecaCertificateTemplate.Buildercreate(software.constructs.Construct scope, String id)PrivatecaCertificateTemplate.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)PrivatecaCertificateTemplate.Builderdescription(String description)Optional.PrivatecaCertificateTemplate.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)PrivatecaCertificateTemplate.Builderid(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}.PrivatecaCertificateTemplate.BuilderidentityConstraints(PrivatecaCertificateTemplateIdentityConstraints identityConstraints)identity_constraints block.PrivatecaCertificateTemplate.Builderlabels(Map<String,String> labels)Optional.PrivatecaCertificateTemplate.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)PrivatecaCertificateTemplate.Builderlocation(String location)The location for the resource.PrivatecaCertificateTemplate.BuildermaximumLifetime(String maximumLifetime)Optional.PrivatecaCertificateTemplate.Buildername(String name)The resource name for this CertificateTemplate in the format 'projects/* /locations/* /certificateTemplates/*'.PrivatecaCertificateTemplate.BuilderpassthroughExtensions(PrivatecaCertificateTemplatePassthroughExtensions passthroughExtensions)passthrough_extensions block.PrivatecaCertificateTemplate.BuilderpredefinedValues(PrivatecaCertificateTemplatePredefinedValues predefinedValues)predefined_values block.PrivatecaCertificateTemplate.Builderproject(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}.PrivatecaCertificateTemplate.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)PrivatecaCertificateTemplate.Builderprovisioners(List<? extends Object> provisioners)PrivatecaCertificateTemplate.Buildertimeouts(PrivatecaCertificateTemplateTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static PrivatecaCertificateTemplate.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
PrivatecaCertificateTemplate.Builder.
-
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(Number count)
- Parameters:
count- 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
-
provisioners
@Stability(Experimental) public PrivatecaCertificateTemplate.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- 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
-
build
@Stability(Stable) public PrivatecaCertificateTemplate build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PrivatecaCertificateTemplate>- Returns:
- a newly built instance of
PrivatecaCertificateTemplate.
-
-