Class CfnResolverQueryLoggingConfigProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53resolver.CfnResolverQueryLoggingConfigProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResolverQueryLoggingConfigProps>
- Enclosing interface:
CfnResolverQueryLoggingConfigProps
@Stability(Stable)
public static final class CfnResolverQueryLoggingConfigProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResolverQueryLoggingConfigProps>
A builder for
CfnResolverQueryLoggingConfigProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.destinationArn
(String destinationArn) Sets the value ofCfnResolverQueryLoggingConfigProps.getDestinationArn()
Sets the value ofCfnResolverQueryLoggingConfigProps.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationArn
@Stability(Stable) public CfnResolverQueryLoggingConfigProps.Builder destinationArn(String destinationArn) Sets the value ofCfnResolverQueryLoggingConfigProps.getDestinationArn()
- 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.- Returns:
this
-
name
Sets the value ofCfnResolverQueryLoggingConfigProps.getName()
- Parameters:
name
- The name of the query logging configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResolverQueryLoggingConfigProps>
- Returns:
- a new instance of
CfnResolverQueryLoggingConfigProps
- Throws:
NullPointerException
- if any required attribute was not provided
-