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

com.pulumi.aws.connect.inputs.GetRoutingProfileArgs 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.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetRoutingProfileArgs Empty = new GetRoutingProfileArgs();

    /**
     * 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 Routing Profile by name
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

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

    /**
     * Returns information on a specific Routing Profile by Routing Profile id
     * 
     */
    @Import(name="routingProfileId")
    private @Nullable Output routingProfileId;

    /**
     * @return Returns information on a specific Routing Profile by Routing Profile id
     * 
     */
    public Optional> routingProfileId() {
        return Optional.ofNullable(this.routingProfileId);
    }

    /**
     * Map of tags to assign to the Routing Profile.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Map of tags to assign to the Routing Profile.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetRoutingProfileArgs() {}

    private GetRoutingProfileArgs(GetRoutingProfileArgs $) {
        this.instanceId = $.instanceId;
        this.name = $.name;
        this.routingProfileId = $.routingProfileId;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetRoutingProfileArgs $;

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

        public Builder(GetRoutingProfileArgs defaults) {
            $ = new GetRoutingProfileArgs(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 Routing Profile by name
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

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

        /**
         * @param routingProfileId Returns information on a specific Routing Profile by Routing Profile id
         * 
         * @return builder
         * 
         */
        public Builder routingProfileId(@Nullable Output routingProfileId) {
            $.routingProfileId = routingProfileId;
            return this;
        }

        /**
         * @param routingProfileId Returns information on a specific Routing Profile by Routing Profile id
         * 
         * @return builder
         * 
         */
        public Builder routingProfileId(String routingProfileId) {
            return routingProfileId(Output.of(routingProfileId));
        }

        /**
         * @param tags Map of tags to assign to the Routing Profile.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Map of tags to assign to the Routing Profile.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy