Class DialogflowFulfillmentGenericWebService.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_fulfillment.DialogflowFulfillmentGenericWebService.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowFulfillmentGenericWebService>
- Enclosing interface:
- DialogflowFulfillmentGenericWebService
@Stability(Stable) public static final class DialogflowFulfillmentGenericWebService.Builder extends Object implements software.amazon.jsii.Builder<DialogflowFulfillmentGenericWebService>
A builder forDialogflowFulfillmentGenericWebService
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowFulfillmentGenericWebServicebuild()Builds the configured instance.DialogflowFulfillmentGenericWebService.Builderpassword(String password)Sets the value ofDialogflowFulfillmentGenericWebService.getPassword()DialogflowFulfillmentGenericWebService.BuilderrequestHeaders(Map<String,String> requestHeaders)Sets the value ofDialogflowFulfillmentGenericWebService.getRequestHeaders()DialogflowFulfillmentGenericWebService.Builderuri(String uri)Sets the value ofDialogflowFulfillmentGenericWebService.getUri()DialogflowFulfillmentGenericWebService.Builderusername(String username)Sets the value ofDialogflowFulfillmentGenericWebService.getUsername()
-
-
-
Method Detail
-
uri
@Stability(Stable) public DialogflowFulfillmentGenericWebService.Builder uri(String uri)
Sets the value ofDialogflowFulfillmentGenericWebService.getUri()- Parameters:
uri- The fulfillment URI for receiving POST requests. It must use https protocol. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_fulfillment#uri DialogflowFulfillment#uri}- Returns:
this
-
password
@Stability(Stable) public DialogflowFulfillmentGenericWebService.Builder password(String password)
Sets the value ofDialogflowFulfillmentGenericWebService.getPassword()- Parameters:
password- The password for HTTP Basic authentication. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_fulfillment#password DialogflowFulfillment#password}- Returns:
this
-
requestHeaders
@Stability(Stable) public DialogflowFulfillmentGenericWebService.Builder requestHeaders(Map<String,String> requestHeaders)
Sets the value ofDialogflowFulfillmentGenericWebService.getRequestHeaders()- Parameters:
requestHeaders- The HTTP request headers to send together with fulfillment requests. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_fulfillment#request_headers DialogflowFulfillment#request_headers}- Returns:
this
-
username
@Stability(Stable) public DialogflowFulfillmentGenericWebService.Builder username(String username)
Sets the value ofDialogflowFulfillmentGenericWebService.getUsername()- Parameters:
username- The user name for HTTP Basic authentication. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_fulfillment#username DialogflowFulfillment#username}- Returns:
this
-
build
@Stability(Stable) public DialogflowFulfillmentGenericWebService build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowFulfillmentGenericWebService>- Returns:
- a new instance of
DialogflowFulfillmentGenericWebService - Throws:
NullPointerException- if any required attribute was not provided
-
-