Class DnsManagedZoneCloudLoggingConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dns_managed_zone.DnsManagedZoneCloudLoggingConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DnsManagedZoneCloudLoggingConfig>
- Enclosing interface:
- DnsManagedZoneCloudLoggingConfig
@Stability(Stable) public static final class DnsManagedZoneCloudLoggingConfig.Builder extends Object implements software.amazon.jsii.Builder<DnsManagedZoneCloudLoggingConfig>
A builder forDnsManagedZoneCloudLoggingConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DnsManagedZoneCloudLoggingConfigbuild()Builds the configured instance.DnsManagedZoneCloudLoggingConfig.BuilderenableLogging(com.hashicorp.cdktf.IResolvable enableLogging)Sets the value ofDnsManagedZoneCloudLoggingConfig.getEnableLogging()DnsManagedZoneCloudLoggingConfig.BuilderenableLogging(Boolean enableLogging)Sets the value ofDnsManagedZoneCloudLoggingConfig.getEnableLogging()
-
-
-
Method Detail
-
enableLogging
@Stability(Stable) public DnsManagedZoneCloudLoggingConfig.Builder enableLogging(Boolean enableLogging)
Sets the value ofDnsManagedZoneCloudLoggingConfig.getEnableLogging()- Parameters:
enableLogging- If set, enable query logging for this ManagedZone. False by default, making logging opt-in. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_managed_zone#enable_logging DnsManagedZone#enable_logging}- Returns:
this
-
enableLogging
@Stability(Stable) public DnsManagedZoneCloudLoggingConfig.Builder enableLogging(com.hashicorp.cdktf.IResolvable enableLogging)
Sets the value ofDnsManagedZoneCloudLoggingConfig.getEnableLogging()- Parameters:
enableLogging- If set, enable query logging for this ManagedZone. False by default, making logging opt-in. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_managed_zone#enable_logging DnsManagedZone#enable_logging}- Returns:
this
-
build
@Stability(Stable) public DnsManagedZoneCloudLoggingConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DnsManagedZoneCloudLoggingConfig>- Returns:
- a new instance of
DnsManagedZoneCloudLoggingConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-