Class CertificateManagerCertificateConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.certificate_manager_certificate.CertificateManagerCertificateConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CertificateManagerCertificateConfig>
- Enclosing interface:
- CertificateManagerCertificateConfig
@Stability(Stable) public static final class CertificateManagerCertificateConfig.Builder extends Object implements software.amazon.jsii.Builder<CertificateManagerCertificateConfig>
A builder forCertificateManagerCertificateConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
name
@Stability(Stable) public CertificateManagerCertificateConfig.Builder name(String name)
Sets the value ofCertificateManagerCertificateConfig.getName()- Parameters:
name- A user-defined name of the certificate. This parameter is required. Certificate names must be unique The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter, and all following characters must be a dash, underscore, letter or digit. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/certificate_manager_certificate#name CertificateManagerCertificate#name}- Returns:
this
-
description
@Stability(Stable) public CertificateManagerCertificateConfig.Builder description(String description)
Sets the value ofCertificateManagerCertificateConfig.getDescription()- Parameters:
description- A human-readable description of the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/certificate_manager_certificate#description CertificateManagerCertificate#description}- Returns:
this
-
id
@Stability(Stable) public CertificateManagerCertificateConfig.Builder id(String id)
Sets the value ofCertificateManagerCertificateConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/certificate_manager_certificate#id CertificateManagerCertificate#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
-
labels
@Stability(Stable) public CertificateManagerCertificateConfig.Builder labels(Map<String,String> labels)
Sets the value ofCertificateManagerCertificateConfig.getLabels()- Parameters:
labels- Set of label tags associated with the Certificate resource. **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/certificate_manager_certificate#labels CertificateManagerCertificate#labels}- Returns:
this
-
location
@Stability(Stable) public CertificateManagerCertificateConfig.Builder location(String location)
Sets the value ofCertificateManagerCertificateConfig.getLocation()- Parameters:
location- The Certificate Manager location. If not specified, "global" is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/certificate_manager_certificate#location CertificateManagerCertificate#location}- Returns:
this
-
managed
@Stability(Stable) public CertificateManagerCertificateConfig.Builder managed(CertificateManagerCertificateManaged managed)
Sets the value ofCertificateManagerCertificateConfig.getManaged()- Parameters:
managed- managed block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/certificate_manager_certificate#managed CertificateManagerCertificate#managed}- Returns:
this
-
project
@Stability(Stable) public CertificateManagerCertificateConfig.Builder project(String project)
Sets the value ofCertificateManagerCertificateConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/certificate_manager_certificate#project CertificateManagerCertificate#project}.- Returns:
this
-
scope
@Stability(Stable) public CertificateManagerCertificateConfig.Builder scope(String scope)
Sets the value ofCertificateManagerCertificateConfig.getScope()- Parameters:
scope- The scope of the certificate. DEFAULT: Certificates with default scope are served from core Google data centers. If unsure, choose this option. EDGE_CACHE: Certificates with scope EDGE_CACHE are special-purposed certificates, served from Edge Points of Presence. See https://cloud.google.com/vpc/docs/edge-locations. ALL_REGIONS: Certificates with ALL_REGIONS scope are served from all GCP regions (You can only use ALL_REGIONS with global certs). See https://cloud.google.com/compute/docs/regions-zones Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/certificate_manager_certificate#scope CertificateManagerCertificate#scope}- Returns:
this
-
selfManaged
@Stability(Stable) public CertificateManagerCertificateConfig.Builder selfManaged(CertificateManagerCertificateSelfManaged selfManaged)
Sets the value ofCertificateManagerCertificateConfig.getSelfManaged()- Parameters:
selfManaged- self_managed block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/certificate_manager_certificate#self_managed CertificateManagerCertificate#self_managed}- Returns:
this
-
timeouts
@Stability(Stable) public CertificateManagerCertificateConfig.Builder timeouts(CertificateManagerCertificateTimeouts timeouts)
Sets the value ofCertificateManagerCertificateConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/certificate_manager_certificate#timeouts CertificateManagerCertificate#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public CertificateManagerCertificateConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public CertificateManagerCertificateConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public CertificateManagerCertificateConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public CertificateManagerCertificateConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public CertificateManagerCertificateConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public CertificateManagerCertificateConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public CertificateManagerCertificateConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public CertificateManagerCertificateConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public CertificateManagerCertificateConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public CertificateManagerCertificateConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CertificateManagerCertificateConfig>- Returns:
- a new instance of
CertificateManagerCertificateConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-