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

com.pulumi.aws.chime.VoiceConnectorArgs Maven / Gradle / Ivy

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
Show 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.chime;

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


public final class VoiceConnectorArgs extends com.pulumi.resources.ResourceArgs {

    public static final VoiceConnectorArgs Empty = new VoiceConnectorArgs();

    /**
     * The AWS Region in which the Amazon Chime Voice Connector is created. Default value: `us-east-1`
     * 
     */
    @Import(name="awsRegion")
    private @Nullable Output awsRegion;

    /**
     * @return The AWS Region in which the Amazon Chime Voice Connector is created. Default value: `us-east-1`
     * 
     */
    public Optional> awsRegion() {
        return Optional.ofNullable(this.awsRegion);
    }

    /**
     * The name of the Amazon Chime Voice Connector.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the Amazon Chime Voice Connector.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * When enabled, requires encryption for the Amazon Chime Voice Connector.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="requireEncryption", required=true)
    private Output requireEncryption;

    /**
     * @return When enabled, requires encryption for the Amazon Chime Voice Connector.
     * 
     * The following arguments are optional:
     * 
     */
    public Output requireEncryption() {
        return this.requireEncryption;
    }

    /**
     * Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private VoiceConnectorArgs() {}

    private VoiceConnectorArgs(VoiceConnectorArgs $) {
        this.awsRegion = $.awsRegion;
        this.name = $.name;
        this.requireEncryption = $.requireEncryption;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private VoiceConnectorArgs $;

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

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

        /**
         * @param awsRegion The AWS Region in which the Amazon Chime Voice Connector is created. Default value: `us-east-1`
         * 
         * @return builder
         * 
         */
        public Builder awsRegion(@Nullable Output awsRegion) {
            $.awsRegion = awsRegion;
            return this;
        }

        /**
         * @param awsRegion The AWS Region in which the Amazon Chime Voice Connector is created. Default value: `us-east-1`
         * 
         * @return builder
         * 
         */
        public Builder awsRegion(String awsRegion) {
            return awsRegion(Output.of(awsRegion));
        }

        /**
         * @param name The name of the Amazon Chime Voice Connector.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the Amazon Chime Voice Connector.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param requireEncryption When enabled, requires encryption for the Amazon Chime Voice Connector.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder requireEncryption(Output requireEncryption) {
            $.requireEncryption = requireEncryption;
            return this;
        }

        /**
         * @param requireEncryption When enabled, requires encryption for the Amazon Chime Voice Connector.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder requireEncryption(Boolean requireEncryption) {
            return requireEncryption(Output.of(requireEncryption));
        }

        /**
         * @param tags Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy