Class CfnResolverQueryLoggingConfigAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53resolver.CfnResolverQueryLoggingConfigAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResolverQueryLoggingConfigAssociationProps>
- Enclosing interface:
CfnResolverQueryLoggingConfigAssociationProps
@Stability(Stable)
public static final class CfnResolverQueryLoggingConfigAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResolverQueryLoggingConfigAssociationProps>
A builder for
CfnResolverQueryLoggingConfigAssociationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.resolverQueryLogConfigId
(String resolverQueryLogConfigId) resourceId
(String resourceId) Sets the value ofCfnResolverQueryLoggingConfigAssociationProps.getResourceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resolverQueryLogConfigId
@Stability(Stable) public CfnResolverQueryLoggingConfigAssociationProps.Builder resolverQueryLogConfigId(String resolverQueryLogConfigId) - Parameters:
resolverQueryLogConfigId
- The ID of the query logging configuration that a VPC is associated with.- Returns:
this
-
resourceId
@Stability(Stable) public CfnResolverQueryLoggingConfigAssociationProps.Builder resourceId(String resourceId) Sets the value ofCfnResolverQueryLoggingConfigAssociationProps.getResourceId()
- Parameters:
resourceId
- The ID of the Amazon VPC that is associated with the query logging configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResolverQueryLoggingConfigAssociationProps>
- Returns:
- a new instance of
CfnResolverQueryLoggingConfigAssociationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-