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
-
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 specifyingtrue
orfalse
in thechildDirected
field. This parameter is required. By specifyingtrue
in thechildDirected
field, 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 specifyingfalse
in thechildDirected
field, 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 thechildDirected
field 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 specifyingtrue
orfalse
in thechildDirected
field. This parameter is required. By specifyingtrue
in thechildDirected
field, 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 specifyingfalse
in thechildDirected
field, 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 thechildDirected
field 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnBot.DataPrivacyProperty>
- Returns:
- a new instance of
CfnBot.DataPrivacyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-