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

com.pulumi.aws.connect.inputs.GetContactFlowPlainArgs 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.aws.connect.inputs;

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


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

    public static final GetContactFlowPlainArgs Empty = new GetContactFlowPlainArgs();

    /**
     * Returns information on a specific Contact Flow by contact flow id
     * 
     */
    @Import(name="contactFlowId")
    private @Nullable String contactFlowId;

    /**
     * @return Returns information on a specific Contact Flow by contact flow id
     * 
     */
    public Optional contactFlowId() {
        return Optional.ofNullable(this.contactFlowId);
    }

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

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

    /**
     * Returns information on a specific Contact Flow by name
     * 
     */
    @Import(name="name")
    private @Nullable String name;

    /**
     * @return Returns information on a specific Contact Flow by name
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Tags to assign to the Contact Flow.
     * 
     */
    @Import(name="tags")
    private @Nullable Map tags;

    /**
     * @return Tags to assign to the Contact Flow.
     * 
     */
    public Optional> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * Type of Contact Flow.
     * 
     */
    @Import(name="type")
    private @Nullable String type;

    /**
     * @return Type of Contact Flow.
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }

    private GetContactFlowPlainArgs() {}

    private GetContactFlowPlainArgs(GetContactFlowPlainArgs $) {
        this.contactFlowId = $.contactFlowId;
        this.instanceId = $.instanceId;
        this.name = $.name;
        this.tags = $.tags;
        this.type = $.type;
    }

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

    public static final class Builder {
        private GetContactFlowPlainArgs $;

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

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

        /**
         * @param contactFlowId Returns information on a specific Contact Flow by contact flow id
         * 
         * @return builder
         * 
         */
        public Builder contactFlowId(@Nullable String contactFlowId) {
            $.contactFlowId = contactFlowId;
            return this;
        }

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

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

        /**
         * @param tags Tags to assign to the Contact Flow.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Map tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param type Type of Contact Flow.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable String type) {
            $.type = type;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy