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

com.pulumi.googlenative.dialogflow.v3beta1.inputs.GetIntentArgs 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.v3beta1.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetIntentArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetIntentArgs Empty = new GetIntentArgs();

    @Import(name="agentId", required=true)
    private Output agentId;

    public Output agentId() {
        return this.agentId;
    }

    @Import(name="intentId", required=true)
    private Output intentId;

    public Output intentId() {
        return this.intentId;
    }

    @Import(name="languageCode")
    private @Nullable Output languageCode;

    public Optional> languageCode() {
        return Optional.ofNullable(this.languageCode);
    }

    @Import(name="location", required=true)
    private Output location;

    public Output location() {
        return this.location;
    }

    @Import(name="project")
    private @Nullable Output project;

    public Optional> project() {
        return Optional.ofNullable(this.project);
    }

    private GetIntentArgs() {}

    private GetIntentArgs(GetIntentArgs $) {
        this.agentId = $.agentId;
        this.intentId = $.intentId;
        this.languageCode = $.languageCode;
        this.location = $.location;
        this.project = $.project;
    }

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

    public static final class Builder {
        private GetIntentArgs $;

        public Builder() {
            $ = new GetIntentArgs();
        }

        public Builder(GetIntentArgs defaults) {
            $ = new GetIntentArgs(Objects.requireNonNull(defaults));
        }

        public Builder agentId(Output agentId) {
            $.agentId = agentId;
            return this;
        }

        public Builder agentId(String agentId) {
            return agentId(Output.of(agentId));
        }

        public Builder intentId(Output intentId) {
            $.intentId = intentId;
            return this;
        }

        public Builder intentId(String intentId) {
            return intentId(Output.of(intentId));
        }

        public Builder languageCode(@Nullable Output languageCode) {
            $.languageCode = languageCode;
            return this;
        }

        public Builder languageCode(String languageCode) {
            return languageCode(Output.of(languageCode));
        }

        public Builder location(Output location) {
            $.location = location;
            return this;
        }

        public Builder location(String location) {
            return location(Output.of(location));
        }

        public Builder project(@Nullable Output project) {
            $.project = project;
            return this;
        }

        public Builder project(String project) {
            return project(Output.of(project));
        }

        public GetIntentArgs build() {
            $.agentId = Objects.requireNonNull($.agentId, "expected parameter 'agentId' to be non-null");
            $.intentId = Objects.requireNonNull($.intentId, "expected parameter 'intentId' to be non-null");
            $.location = Objects.requireNonNull($.location, "expected parameter 'location' to be non-null");
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy