Class CfnQueryLoggingConfigProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53.CfnQueryLoggingConfigProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQueryLoggingConfigProps>
- Enclosing interface:
CfnQueryLoggingConfigProps
@Stability(Stable)
public static final class CfnQueryLoggingConfigProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQueryLoggingConfigProps>
A builder for
CfnQueryLoggingConfigProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn) Sets the value ofCfnQueryLoggingConfigProps.getCloudWatchLogsLogGroupArn()hostedZoneId(String hostedZoneId) Sets the value ofCfnQueryLoggingConfigProps.getHostedZoneId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogsLogGroupArn
@Stability(Stable) public CfnQueryLoggingConfigProps.Builder cloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn) Sets the value ofCfnQueryLoggingConfigProps.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. This parameter is required.- Returns:
this
-
hostedZoneId
Sets the value ofCfnQueryLoggingConfigProps.getHostedZoneId()- Parameters:
hostedZoneId- The ID of the public hosted zone that Amazon Route 53 logs queries for. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnQueryLoggingConfigProps>- Returns:
- a new instance of
CfnQueryLoggingConfigProps - Throws:
NullPointerException- if any required attribute was not provided
-