Class DialogflowCxIntentTrainingPhrases.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_intent.DialogflowCxIntentTrainingPhrases.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxIntentTrainingPhrases>
- Enclosing interface:
- DialogflowCxIntentTrainingPhrases
@Stability(Stable) public static final class DialogflowCxIntentTrainingPhrases.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxIntentTrainingPhrases>
A builder forDialogflowCxIntentTrainingPhrases
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowCxIntentTrainingPhrasesbuild()Builds the configured instance.DialogflowCxIntentTrainingPhrases.Builderparts(com.hashicorp.cdktf.IResolvable parts)Sets the value ofDialogflowCxIntentTrainingPhrases.getParts()DialogflowCxIntentTrainingPhrases.Builderparts(List<? extends DialogflowCxIntentTrainingPhrasesParts> parts)Sets the value ofDialogflowCxIntentTrainingPhrases.getParts()DialogflowCxIntentTrainingPhrases.BuilderrepeatCount(Number repeatCount)Sets the value ofDialogflowCxIntentTrainingPhrases.getRepeatCount()
-
-
-
Method Detail
-
parts
@Stability(Stable) public DialogflowCxIntentTrainingPhrases.Builder parts(com.hashicorp.cdktf.IResolvable parts)
Sets the value ofDialogflowCxIntentTrainingPhrases.getParts()- Parameters:
parts- parts block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_intent#parts DialogflowCxIntent#parts}- Returns:
this
-
parts
@Stability(Stable) public DialogflowCxIntentTrainingPhrases.Builder parts(List<? extends DialogflowCxIntentTrainingPhrasesParts> parts)
Sets the value ofDialogflowCxIntentTrainingPhrases.getParts()- Parameters:
parts- parts block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_intent#parts DialogflowCxIntent#parts}- Returns:
this
-
repeatCount
@Stability(Stable) public DialogflowCxIntentTrainingPhrases.Builder repeatCount(Number repeatCount)
Sets the value ofDialogflowCxIntentTrainingPhrases.getRepeatCount()- Parameters:
repeatCount- Indicates how many times this example was added to the intent. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_intent#repeat_count DialogflowCxIntent#repeat_count}- Returns:
this
-
build
@Stability(Stable) public DialogflowCxIntentTrainingPhrases build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxIntentTrainingPhrases>- Returns:
- a new instance of
DialogflowCxIntentTrainingPhrases - Throws:
NullPointerException- if any required attribute was not provided
-
-