Class CfnQueryLoggingConfigMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.route53.CfnQueryLoggingConfigMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQueryLoggingConfigMixinProps>
- Enclosing interface:
CfnQueryLoggingConfigMixinProps
@Stability(Stable)
public static final class CfnQueryLoggingConfigMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQueryLoggingConfigMixinProps>
A builder for
CfnQueryLoggingConfigMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn) Sets the value ofCfnQueryLoggingConfigMixinProps.getCloudWatchLogsLogGroupArn()hostedZoneId(String hostedZoneId) Sets the value ofCfnQueryLoggingConfigMixinProps.getHostedZoneId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogsLogGroupArn
@Stability(Stable) public CfnQueryLoggingConfigMixinProps.Builder cloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn) Sets the value ofCfnQueryLoggingConfigMixinProps.getCloudWatchLogsLogGroupArn()- Parameters:
cloudWatchLogsLogGroupArn- The Amazon Resource Name (ARN) of the CloudWatch Logs log group in us-east-1 that Amazon Route 53 publishes query logs to.- Returns:
this
-
hostedZoneId
Sets the value ofCfnQueryLoggingConfigMixinProps.getHostedZoneId()- Parameters:
hostedZoneId- The ID of the public hosted zone that Amazon Route 53 logs queries for.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnQueryLoggingConfigMixinProps>- Returns:
- a new instance of
CfnQueryLoggingConfigMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-