Class DialogflowFulfillmentConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_fulfillment.DialogflowFulfillmentConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowFulfillmentConfig>
- Enclosing interface:
- DialogflowFulfillmentConfig
@Stability(Stable) public static final class DialogflowFulfillmentConfig.Builder extends Object implements software.amazon.jsii.Builder<DialogflowFulfillmentConfig>
A builder forDialogflowFulfillmentConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowFulfillmentConfigbuild()Builds the configured instance.DialogflowFulfillmentConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DialogflowFulfillmentConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DialogflowFulfillmentConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DialogflowFulfillmentConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DialogflowFulfillmentConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DialogflowFulfillmentConfig.BuilderdisplayName(String displayName)Sets the value ofDialogflowFulfillmentConfig.getDisplayName()DialogflowFulfillmentConfig.Builderenabled(com.hashicorp.cdktf.IResolvable enabled)Sets the value ofDialogflowFulfillmentConfig.getEnabled()DialogflowFulfillmentConfig.Builderenabled(Boolean enabled)Sets the value ofDialogflowFulfillmentConfig.getEnabled()DialogflowFulfillmentConfig.Builderfeatures(com.hashicorp.cdktf.IResolvable features)Sets the value ofDialogflowFulfillmentConfig.getFeatures()DialogflowFulfillmentConfig.Builderfeatures(List<? extends DialogflowFulfillmentFeatures> features)Sets the value ofDialogflowFulfillmentConfig.getFeatures()DialogflowFulfillmentConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DialogflowFulfillmentConfig.BuildergenericWebService(DialogflowFulfillmentGenericWebService genericWebService)Sets the value ofDialogflowFulfillmentConfig.getGenericWebService()DialogflowFulfillmentConfig.Builderid(String id)Sets the value ofDialogflowFulfillmentConfig.getId()DialogflowFulfillmentConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DialogflowFulfillmentConfig.Builderproject(String project)Sets the value ofDialogflowFulfillmentConfig.getProject()DialogflowFulfillmentConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DialogflowFulfillmentConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DialogflowFulfillmentConfig.Buildertimeouts(DialogflowFulfillmentTimeouts timeouts)Sets the value ofDialogflowFulfillmentConfig.getTimeouts()
-
-
-
Method Detail
-
displayName
@Stability(Stable) public DialogflowFulfillmentConfig.Builder displayName(String displayName)
Sets the value ofDialogflowFulfillmentConfig.getDisplayName()- Parameters:
displayName- The human-readable name of the fulfillment, unique within the agent. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_fulfillment#display_name DialogflowFulfillment#display_name}- Returns:
this
-
enabled
@Stability(Stable) public DialogflowFulfillmentConfig.Builder enabled(Boolean enabled)
Sets the value ofDialogflowFulfillmentConfig.getEnabled()- Parameters:
enabled- Whether fulfillment is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_fulfillment#enabled DialogflowFulfillment#enabled}- Returns:
this
-
enabled
@Stability(Stable) public DialogflowFulfillmentConfig.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
Sets the value ofDialogflowFulfillmentConfig.getEnabled()- Parameters:
enabled- Whether fulfillment is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_fulfillment#enabled DialogflowFulfillment#enabled}- Returns:
this
-
features
@Stability(Stable) public DialogflowFulfillmentConfig.Builder features(com.hashicorp.cdktf.IResolvable features)
Sets the value ofDialogflowFulfillmentConfig.getFeatures()- Parameters:
features- features block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_fulfillment#features DialogflowFulfillment#features}- Returns:
this
-
features
@Stability(Stable) public DialogflowFulfillmentConfig.Builder features(List<? extends DialogflowFulfillmentFeatures> features)
Sets the value ofDialogflowFulfillmentConfig.getFeatures()- Parameters:
features- features block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_fulfillment#features DialogflowFulfillment#features}- Returns:
this
-
genericWebService
@Stability(Stable) public DialogflowFulfillmentConfig.Builder genericWebService(DialogflowFulfillmentGenericWebService genericWebService)
Sets the value ofDialogflowFulfillmentConfig.getGenericWebService()- Parameters:
genericWebService- generic_web_service block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_fulfillment#generic_web_service DialogflowFulfillment#generic_web_service}- Returns:
this
-
id
@Stability(Stable) public DialogflowFulfillmentConfig.Builder id(String id)
Sets the value ofDialogflowFulfillmentConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_fulfillment#id DialogflowFulfillment#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
-
project
@Stability(Stable) public DialogflowFulfillmentConfig.Builder project(String project)
Sets the value ofDialogflowFulfillmentConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_fulfillment#project DialogflowFulfillment#project}.- Returns:
this
-
timeouts
@Stability(Stable) public DialogflowFulfillmentConfig.Builder timeouts(DialogflowFulfillmentTimeouts timeouts)
Sets the value ofDialogflowFulfillmentConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_fulfillment#timeouts DialogflowFulfillment#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DialogflowFulfillmentConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public DialogflowFulfillmentConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DialogflowFulfillmentConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DialogflowFulfillmentConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public DialogflowFulfillmentConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public DialogflowFulfillmentConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public DialogflowFulfillmentConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public DialogflowFulfillmentConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public DialogflowFulfillmentConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DialogflowFulfillmentConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowFulfillmentConfig>- Returns:
- a new instance of
DialogflowFulfillmentConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-