All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.dialogflow.v2beta1.outputs.GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceResponse Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.googlenative.dialogflow.v2beta1.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Map;
import java.util.Objects;

@CustomType
public final class GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceResponse {
    /**
     * @return Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.
     * 
     */
    private Boolean isCloudFunction;
    /**
     * @return The password for HTTP Basic authentication.
     * 
     */
    private String password;
    /**
     * @return The HTTP request headers to send together with fulfillment requests.
     * 
     */
    private Map requestHeaders;
    /**
     * @return The fulfillment URI for receiving POST requests. It must use https protocol.
     * 
     */
    private String uri;
    /**
     * @return The user name for HTTP Basic authentication.
     * 
     */
    private String username;

    private GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceResponse() {}
    /**
     * @return Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.
     * 
     */
    public Boolean isCloudFunction() {
        return this.isCloudFunction;
    }
    /**
     * @return The password for HTTP Basic authentication.
     * 
     */
    public String password() {
        return this.password;
    }
    /**
     * @return The HTTP request headers to send together with fulfillment requests.
     * 
     */
    public Map requestHeaders() {
        return this.requestHeaders;
    }
    /**
     * @return The fulfillment URI for receiving POST requests. It must use https protocol.
     * 
     */
    public String uri() {
        return this.uri;
    }
    /**
     * @return The user name for HTTP Basic authentication.
     * 
     */
    public String username() {
        return this.username;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Boolean isCloudFunction;
        private String password;
        private Map requestHeaders;
        private String uri;
        private String username;
        public Builder() {}
        public Builder(GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.isCloudFunction = defaults.isCloudFunction;
    	      this.password = defaults.password;
    	      this.requestHeaders = defaults.requestHeaders;
    	      this.uri = defaults.uri;
    	      this.username = defaults.username;
        }

        @CustomType.Setter
        public Builder isCloudFunction(Boolean isCloudFunction) {
            this.isCloudFunction = Objects.requireNonNull(isCloudFunction);
            return this;
        }
        @CustomType.Setter
        public Builder password(String password) {
            this.password = Objects.requireNonNull(password);
            return this;
        }
        @CustomType.Setter
        public Builder requestHeaders(Map requestHeaders) {
            this.requestHeaders = Objects.requireNonNull(requestHeaders);
            return this;
        }
        @CustomType.Setter
        public Builder uri(String uri) {
            this.uri = Objects.requireNonNull(uri);
            return this;
        }
        @CustomType.Setter
        public Builder username(String username) {
            this.username = Objects.requireNonNull(username);
            return this;
        }
        public GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceResponse build() {
            final var o = new GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceResponse();
            o.isCloudFunction = isCloudFunction;
            o.password = password;
            o.requestHeaders = requestHeaders;
            o.uri = uri;
            o.username = username;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy