Class CfnBot.DataPrivacyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.DataPrivacyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.DataPrivacyProperty>
- Enclosing interface:
- CfnBot.DataPrivacyProperty
@Stability(Stable)
public static final class CfnBot.DataPrivacyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.DataPrivacyProperty>
A builder for
CfnBot.DataPrivacyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.childDirected(Boolean childDirected) Sets the value ofCfnBot.DataPrivacyProperty.getChildDirected()childDirected(IResolvable childDirected) Sets the value ofCfnBot.DataPrivacyProperty.getChildDirected()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
childDirected
Sets the value ofCfnBot.DataPrivacyProperty.getChildDirected()- Parameters:
childDirected- For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifyingtrueorfalsein thechildDirectedfield. This parameter is required. By specifyingtruein thechildDirectedfield, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifyingfalsein thechildDirectedfield, you confirm that your use of Amazon Lex is not related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for thechildDirectedfield that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ .- Returns:
this
-
childDirected
@Stability(Stable) public CfnBot.DataPrivacyProperty.Builder childDirected(IResolvable childDirected) Sets the value ofCfnBot.DataPrivacyProperty.getChildDirected()- Parameters:
childDirected- For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifyingtrueorfalsein thechildDirectedfield. This parameter is required. By specifyingtruein thechildDirectedfield, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifyingfalsein thechildDirectedfield, you confirm that your use of Amazon Lex is not related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for thechildDirectedfield that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBot.DataPrivacyProperty>- Returns:
- a new instance of
CfnBot.DataPrivacyProperty - Throws:
NullPointerException- if any required attribute was not provided
-