Class DialogflowCxIntentTrainingPhrasesParts.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_intent.DialogflowCxIntentTrainingPhrasesParts.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxIntentTrainingPhrasesParts>
- Enclosing interface:
- DialogflowCxIntentTrainingPhrasesParts
@Stability(Stable) public static final class DialogflowCxIntentTrainingPhrasesParts.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxIntentTrainingPhrasesParts>
A builder forDialogflowCxIntentTrainingPhrasesParts
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowCxIntentTrainingPhrasesPartsbuild()Builds the configured instance.DialogflowCxIntentTrainingPhrasesParts.BuilderparameterId(String parameterId)Sets the value ofDialogflowCxIntentTrainingPhrasesParts.getParameterId()DialogflowCxIntentTrainingPhrasesParts.Buildertext(String text)Sets the value ofDialogflowCxIntentTrainingPhrasesParts.getText()
-
-
-
Method Detail
-
text
@Stability(Stable) public DialogflowCxIntentTrainingPhrasesParts.Builder text(String text)
Sets the value ofDialogflowCxIntentTrainingPhrasesParts.getText()- Parameters:
text- The text for this part. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_intent#text DialogflowCxIntent#text}- Returns:
this
-
parameterId
@Stability(Stable) public DialogflowCxIntentTrainingPhrasesParts.Builder parameterId(String parameterId)
Sets the value ofDialogflowCxIntentTrainingPhrasesParts.getParameterId()- Parameters:
parameterId- The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_intent#parameter_id DialogflowCxIntent#parameter_id}- Returns:
this
-
build
@Stability(Stable) public DialogflowCxIntentTrainingPhrasesParts build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxIntentTrainingPhrasesParts>- Returns:
- a new instance of
DialogflowCxIntentTrainingPhrasesParts - Throws:
NullPointerException- if any required attribute was not provided
-
-