Class DialogflowCxIntentParameters.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_intent.DialogflowCxIntentParameters.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxIntentParameters>
- Enclosing interface:
- DialogflowCxIntentParameters
@Stability(Stable) public static final class DialogflowCxIntentParameters.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxIntentParameters>
A builder forDialogflowCxIntentParameters
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowCxIntentParametersbuild()Builds the configured instance.DialogflowCxIntentParameters.BuilderentityType(String entityType)Sets the value ofDialogflowCxIntentParameters.getEntityType()DialogflowCxIntentParameters.Builderid(String id)Sets the value ofDialogflowCxIntentParameters.getId()DialogflowCxIntentParameters.BuilderisList(com.hashicorp.cdktf.IResolvable isList)Sets the value ofDialogflowCxIntentParameters.getIsList()DialogflowCxIntentParameters.BuilderisList(Boolean isList)Sets the value ofDialogflowCxIntentParameters.getIsList()DialogflowCxIntentParameters.Builderredact(com.hashicorp.cdktf.IResolvable redact)Sets the value ofDialogflowCxIntentParameters.getRedact()DialogflowCxIntentParameters.Builderredact(Boolean redact)Sets the value ofDialogflowCxIntentParameters.getRedact()
-
-
-
Method Detail
-
entityType
@Stability(Stable) public DialogflowCxIntentParameters.Builder entityType(String entityType)
Sets the value ofDialogflowCxIntentParameters.getEntityType()- Parameters:
entityType- The entity type of the parameter. This parameter is required. Format: projects/-/locations/-/agents/-/entityTypes/for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/ /locations/ /agents/ /entityTypes/ for developer entity types. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_intent#entity_type DialogflowCxIntent#entity_type} - Returns:
this
-
id
@Stability(Stable) public DialogflowCxIntentParameters.Builder id(String id)
Sets the value ofDialogflowCxIntentParameters.getId()- Parameters:
id- The unique identifier of the parameter. This field is used by training phrases to annotate their parts. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_intent#id DialogflowCxIntent#id} Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
isList
@Stability(Stable) public DialogflowCxIntentParameters.Builder isList(Boolean isList)
Sets the value ofDialogflowCxIntentParameters.getIsList()- Parameters:
isList- Indicates whether the parameter represents a list of values. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_intent#is_list DialogflowCxIntent#is_list}- Returns:
this
-
isList
@Stability(Stable) public DialogflowCxIntentParameters.Builder isList(com.hashicorp.cdktf.IResolvable isList)
Sets the value ofDialogflowCxIntentParameters.getIsList()- Parameters:
isList- Indicates whether the parameter represents a list of values. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_intent#is_list DialogflowCxIntent#is_list}- Returns:
this
-
redact
@Stability(Stable) public DialogflowCxIntentParameters.Builder redact(Boolean redact)
Sets the value ofDialogflowCxIntentParameters.getRedact()- Parameters:
redact- Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_intent#redact DialogflowCxIntent#redact}- Returns:
this
-
redact
@Stability(Stable) public DialogflowCxIntentParameters.Builder redact(com.hashicorp.cdktf.IResolvable redact)
Sets the value ofDialogflowCxIntentParameters.getRedact()- Parameters:
redact- Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_intent#redact DialogflowCxIntent#redact}- Returns:
this
-
build
@Stability(Stable) public DialogflowCxIntentParameters build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxIntentParameters>- Returns:
- a new instance of
DialogflowCxIntentParameters - Throws:
NullPointerException- if any required attribute was not provided
-
-