Class LookerInstanceConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.looker_instance.LookerInstanceConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LookerInstanceConfig>
- Enclosing interface:
- LookerInstanceConfig
@Stability(Stable) public static final class LookerInstanceConfig.Builder extends Object implements software.amazon.jsii.Builder<LookerInstanceConfig>
A builder forLookerInstanceConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
name
@Stability(Stable) public LookerInstanceConfig.Builder name(String name)
Sets the value ofLookerInstanceConfig.getName()- Parameters:
name- The ID of the instance or a fully qualified identifier for the instance. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#name LookerInstance#name}- Returns:
this
-
adminSettings
@Stability(Stable) public LookerInstanceConfig.Builder adminSettings(LookerInstanceAdminSettings adminSettings)
Sets the value ofLookerInstanceConfig.getAdminSettings()- Parameters:
adminSettings- admin_settings block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#admin_settings LookerInstance#admin_settings}- Returns:
this
-
consumerNetwork
@Stability(Stable) public LookerInstanceConfig.Builder consumerNetwork(String consumerNetwork)
Sets the value ofLookerInstanceConfig.getConsumerNetwork()- Parameters:
consumerNetwork- Network name in the consumer project in the format of: projects/{project}/global/networks/{network} Note that the consumer network may be in a different GCP project than the consumer project that is hosting the Looker Instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#consumer_network LookerInstance#consumer_network}- Returns:
this
-
customDomain
@Stability(Stable) public LookerInstanceConfig.Builder customDomain(LookerInstanceCustomDomain customDomain)
Sets the value ofLookerInstanceConfig.getCustomDomain()- Parameters:
customDomain- custom_domain block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#custom_domain LookerInstance#custom_domain}- Returns:
this
-
denyMaintenancePeriod
@Stability(Stable) public LookerInstanceConfig.Builder denyMaintenancePeriod(LookerInstanceDenyMaintenancePeriod denyMaintenancePeriod)
Sets the value ofLookerInstanceConfig.getDenyMaintenancePeriod()- Parameters:
denyMaintenancePeriod- deny_maintenance_period block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#deny_maintenance_period LookerInstance#deny_maintenance_period}- Returns:
this
-
encryptionConfig
@Stability(Stable) public LookerInstanceConfig.Builder encryptionConfig(LookerInstanceEncryptionConfig encryptionConfig)
Sets the value ofLookerInstanceConfig.getEncryptionConfig()- Parameters:
encryptionConfig- encryption_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#encryption_config LookerInstance#encryption_config}- Returns:
this
-
id
@Stability(Stable) public LookerInstanceConfig.Builder id(String id)
Sets the value ofLookerInstanceConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#id LookerInstance#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
-
maintenanceWindow
@Stability(Stable) public LookerInstanceConfig.Builder maintenanceWindow(LookerInstanceMaintenanceWindow maintenanceWindow)
Sets the value ofLookerInstanceConfig.getMaintenanceWindow()- Parameters:
maintenanceWindow- maintenance_window block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#maintenance_window LookerInstance#maintenance_window}- Returns:
this
-
oauthConfig
@Stability(Stable) public LookerInstanceConfig.Builder oauthConfig(LookerInstanceOauthConfig oauthConfig)
Sets the value ofLookerInstanceConfig.getOauthConfig()- Parameters:
oauthConfig- oauth_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#oauth_config LookerInstance#oauth_config}- Returns:
this
-
platformEdition
@Stability(Stable) public LookerInstanceConfig.Builder platformEdition(String platformEdition)
Sets the value ofLookerInstanceConfig.getPlatformEdition()- Parameters:
platformEdition- Platform editions for a Looker instance. Each edition maps to a set of instance features, like its size. Must be one of these values: * LOOKER_CORE_TRIAL: trial instance (Currently Unavailable) * LOOKER_CORE_STANDARD: pay as you go standard instance (Currently Unavailable) * LOOKER_CORE_STANDARD_ANNUAL: subscription standard instance * LOOKER_CORE_ENTERPRISE_ANNUAL: subscription enterprise instance * LOOKER_CORE_EMBED_ANNUAL: subscription embed instance Default value: "LOOKER_CORE_TRIAL" Possible values: ["LOOKER_CORE_TRIAL", "LOOKER_CORE_STANDARD", "LOOKER_CORE_STANDARD_ANNUAL", "LOOKER_CORE_ENTERPRISE_ANNUAL", "LOOKER_CORE_EMBED_ANNUAL"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#platform_edition LookerInstance#platform_edition}- Returns:
this
-
privateIpEnabled
@Stability(Stable) public LookerInstanceConfig.Builder privateIpEnabled(Boolean privateIpEnabled)
Sets the value ofLookerInstanceConfig.getPrivateIpEnabled()- Parameters:
privateIpEnabled- Whether private IP is enabled on the Looker instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#private_ip_enabled LookerInstance#private_ip_enabled}- Returns:
this
-
privateIpEnabled
@Stability(Stable) public LookerInstanceConfig.Builder privateIpEnabled(com.hashicorp.cdktf.IResolvable privateIpEnabled)
Sets the value ofLookerInstanceConfig.getPrivateIpEnabled()- Parameters:
privateIpEnabled- Whether private IP is enabled on the Looker instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#private_ip_enabled LookerInstance#private_ip_enabled}- Returns:
this
-
project
@Stability(Stable) public LookerInstanceConfig.Builder project(String project)
Sets the value ofLookerInstanceConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#project LookerInstance#project}.- Returns:
this
-
publicIpEnabled
@Stability(Stable) public LookerInstanceConfig.Builder publicIpEnabled(Boolean publicIpEnabled)
Sets the value ofLookerInstanceConfig.getPublicIpEnabled()- Parameters:
publicIpEnabled- Whether public IP is enabled on the Looker instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#public_ip_enabled LookerInstance#public_ip_enabled}- Returns:
this
-
publicIpEnabled
@Stability(Stable) public LookerInstanceConfig.Builder publicIpEnabled(com.hashicorp.cdktf.IResolvable publicIpEnabled)
Sets the value ofLookerInstanceConfig.getPublicIpEnabled()- Parameters:
publicIpEnabled- Whether public IP is enabled on the Looker instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#public_ip_enabled LookerInstance#public_ip_enabled}- Returns:
this
-
region
@Stability(Stable) public LookerInstanceConfig.Builder region(String region)
Sets the value ofLookerInstanceConfig.getRegion()- Parameters:
region- The name of the Looker region of the instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#region LookerInstance#region}- Returns:
this
-
reservedRange
@Stability(Stable) public LookerInstanceConfig.Builder reservedRange(String reservedRange)
Sets the value ofLookerInstanceConfig.getReservedRange()- Parameters:
reservedRange- Name of a reserved IP address range within the consumer network, to be used for private service access connection. User may or may not specify this in a request. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#reserved_range LookerInstance#reserved_range}- Returns:
this
-
timeouts
@Stability(Stable) public LookerInstanceConfig.Builder timeouts(LookerInstanceTimeouts timeouts)
Sets the value ofLookerInstanceConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#timeouts LookerInstance#timeouts}- Returns:
this
-
userMetadata
@Stability(Stable) public LookerInstanceConfig.Builder userMetadata(LookerInstanceUserMetadata userMetadata)
Sets the value ofLookerInstanceConfig.getUserMetadata()- Parameters:
userMetadata- user_metadata block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/looker_instance#user_metadata LookerInstance#user_metadata}- Returns:
this
-
connection
@Stability(Experimental) public LookerInstanceConfig.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 LookerInstanceConfig.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 LookerInstanceConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public LookerInstanceConfig.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 LookerInstanceConfig.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 LookerInstanceConfig.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 LookerInstanceConfig.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 LookerInstanceConfig.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 LookerInstanceConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public LookerInstanceConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LookerInstanceConfig>- Returns:
- a new instance of
LookerInstanceConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-