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

com.pulumi.aws.connect.inputs.GetPromptArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** 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.aws.connect.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetPromptArgs Empty = new GetPromptArgs();

    /**
     * Reference to the hosting Amazon Connect Instance
     * 
     */
    @Import(name="instanceId", required=true)
    private Output instanceId;

    /**
     * @return Reference to the hosting Amazon Connect Instance
     * 
     */
    public Output instanceId() {
        return this.instanceId;
    }

    /**
     * Returns information on a specific Prompt by name
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return Returns information on a specific Prompt by name
     * 
     */
    public Output name() {
        return this.name;
    }

    private GetPromptArgs() {}

    private GetPromptArgs(GetPromptArgs $) {
        this.instanceId = $.instanceId;
        this.name = $.name;
    }

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

    public static final class Builder {
        private GetPromptArgs $;

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

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

        /**
         * @param instanceId Reference to the hosting Amazon Connect Instance
         * 
         * @return builder
         * 
         */
        public Builder instanceId(Output instanceId) {
            $.instanceId = instanceId;
            return this;
        }

        /**
         * @param instanceId Reference to the hosting Amazon Connect Instance
         * 
         * @return builder
         * 
         */
        public Builder instanceId(String instanceId) {
            return instanceId(Output.of(instanceId));
        }

        /**
         * @param name Returns information on a specific Prompt by name
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Returns information on a specific Prompt by name
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public GetPromptArgs build() {
            if ($.instanceId == null) {
                throw new MissingRequiredPropertyException("GetPromptArgs", "instanceId");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("GetPromptArgs", "name");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy