Class CfnResolverQueryLoggingConfig.Builder

java.lang.Object
software.amazon.awscdk.services.route53resolver.CfnResolverQueryLoggingConfig.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResolverQueryLoggingConfig>
Enclosing class:
CfnResolverQueryLoggingConfig

@Stability(Stable) public static final class CfnResolverQueryLoggingConfig.Builder extends Object implements software.amazon.jsii.Builder<CfnResolverQueryLoggingConfig>
A fluent builder for CfnResolverQueryLoggingConfig.
  • Method Details

    • create

      @Stability(Stable) public static CfnResolverQueryLoggingConfig.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnResolverQueryLoggingConfig.Builder.
    • destinationArn

      @Stability(Stable) public CfnResolverQueryLoggingConfig.Builder destinationArn(String destinationArn)
      The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream.

      Parameters:
      destinationArn - The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnResolverQueryLoggingConfig.Builder name(String name)
      The name of the query logging configuration.

      Parameters:
      name - The name of the query logging configuration. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnResolverQueryLoggingConfig build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnResolverQueryLoggingConfig>
      Returns:
      a newly built instance of CfnResolverQueryLoggingConfig.