Class CertificateManagerCertificateMapEntryConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.certificate_manager_certificate_map_entry.CertificateManagerCertificateMapEntryConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CertificateManagerCertificateMapEntryConfig>
- Enclosing interface:
- CertificateManagerCertificateMapEntryConfig
@Stability(Stable) public static final class CertificateManagerCertificateMapEntryConfig.Builder extends Object implements software.amazon.jsii.Builder<CertificateManagerCertificateMapEntryConfig>
A builder forCertificateManagerCertificateMapEntryConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
certificates
@Stability(Stable) public CertificateManagerCertificateMapEntryConfig.Builder certificates(List<String> certificates)
Sets the value ofCertificateManagerCertificateMapEntryConfig.getCertificates()- Parameters:
certificates- A set of Certificates defines for the given hostname. This parameter is required. There can be defined up to fifteen certificates in each Certificate Map Entry. Each certificate must match pattern projects/* /locations/* /certificates/*. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/certificate_manager_certificate_map_entry#certificates CertificateManagerCertificateMapEntry#certificates} 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.- Returns:
this
-
map
@Stability(Stable) public CertificateManagerCertificateMapEntryConfig.Builder map(String map)
Sets the value ofCertificateManagerCertificateMapEntryConfig.getMap()- Parameters:
map- A map entry that is inputted into the cetrificate map. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/certificate_manager_certificate_map_entry#map CertificateManagerCertificateMapEntry#map}- Returns:
this
-
name
@Stability(Stable) public CertificateManagerCertificateMapEntryConfig.Builder name(String name)
Sets the value ofCertificateManagerCertificateMapEntryConfig.getName()- Parameters:
name- A user-defined name of the Certificate Map Entry. This parameter is required. Certificate Map Entry names must be unique globally and match pattern 'projects/* /locations/* /certificateMaps/* /certificateMapEntries/*' Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/certificate_manager_certificate_map_entry#name CertificateManagerCertificateMapEntry#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.- Returns:
this
-
description
@Stability(Stable) public CertificateManagerCertificateMapEntryConfig.Builder description(String description)
Sets the value ofCertificateManagerCertificateMapEntryConfig.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_map_entry#description CertificateManagerCertificateMapEntry#description}- Returns:
this
-
hostname
@Stability(Stable) public CertificateManagerCertificateMapEntryConfig.Builder hostname(String hostname)
Sets the value ofCertificateManagerCertificateMapEntryConfig.getHostname()- Parameters:
hostname- A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/certificate_manager_certificate_map_entry#hostname CertificateManagerCertificateMapEntry#hostname}- Returns:
this
-
id
@Stability(Stable) public CertificateManagerCertificateMapEntryConfig.Builder id(String id)
Sets the value ofCertificateManagerCertificateMapEntryConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/certificate_manager_certificate_map_entry#id CertificateManagerCertificateMapEntry#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 CertificateManagerCertificateMapEntryConfig.Builder labels(Map<String,String> labels)
Sets the value ofCertificateManagerCertificateMapEntryConfig.getLabels()- Parameters:
labels- Set of labels associated with a Certificate Map Entry. 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/certificate_manager_certificate_map_entry#labels CertificateManagerCertificateMapEntry#labels}- Returns:
this
-
matcher
@Stability(Stable) public CertificateManagerCertificateMapEntryConfig.Builder matcher(String matcher)
Sets the value ofCertificateManagerCertificateMapEntryConfig.getMatcher()- Parameters:
matcher- A predefined matcher for particular cases, other than SNI selection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/certificate_manager_certificate_map_entry#matcher CertificateManagerCertificateMapEntry#matcher}- Returns:
this
-
project
@Stability(Stable) public CertificateManagerCertificateMapEntryConfig.Builder project(String project)
Sets the value ofCertificateManagerCertificateMapEntryConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/certificate_manager_certificate_map_entry#project CertificateManagerCertificateMapEntry#project}.- Returns:
this
-
timeouts
@Stability(Stable) public CertificateManagerCertificateMapEntryConfig.Builder timeouts(CertificateManagerCertificateMapEntryTimeouts timeouts)
Sets the value ofCertificateManagerCertificateMapEntryConfig.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_map_entry#timeouts CertificateManagerCertificateMapEntry#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public CertificateManagerCertificateMapEntryConfig.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 CertificateManagerCertificateMapEntryConfig.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 CertificateManagerCertificateMapEntryConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public CertificateManagerCertificateMapEntryConfig.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 CertificateManagerCertificateMapEntryConfig.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 CertificateManagerCertificateMapEntryConfig.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 CertificateManagerCertificateMapEntryConfig.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 CertificateManagerCertificateMapEntryConfig.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 CertificateManagerCertificateMapEntryConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public CertificateManagerCertificateMapEntryConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CertificateManagerCertificateMapEntryConfig>- Returns:
- a new instance of
CertificateManagerCertificateMapEntryConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-