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

com.pulumi.aws.chime.VoiceConnectorLoggingArgs 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.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.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final VoiceConnectorLoggingArgs Empty = new VoiceConnectorLoggingArgs();

    /**
     * When true, enables logging of detailed media metrics for Voice Connectors to Amazon CloudWatch logs.
     * 
     */
    @Import(name="enableMediaMetricLogs")
    private @Nullable Output enableMediaMetricLogs;

    /**
     * @return When true, enables logging of detailed media metrics for Voice Connectors to Amazon CloudWatch logs.
     * 
     */
    public Optional> enableMediaMetricLogs() {
        return Optional.ofNullable(this.enableMediaMetricLogs);
    }

    /**
     * When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
     * 
     */
    @Import(name="enableSipLogs")
    private @Nullable Output enableSipLogs;

    /**
     * @return When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
     * 
     */
    public Optional> enableSipLogs() {
        return Optional.ofNullable(this.enableSipLogs);
    }

    /**
     * The Amazon Chime Voice Connector ID.
     * 
     */
    @Import(name="voiceConnectorId", required=true)
    private Output voiceConnectorId;

    /**
     * @return The Amazon Chime Voice Connector ID.
     * 
     */
    public Output voiceConnectorId() {
        return this.voiceConnectorId;
    }

    private VoiceConnectorLoggingArgs() {}

    private VoiceConnectorLoggingArgs(VoiceConnectorLoggingArgs $) {
        this.enableMediaMetricLogs = $.enableMediaMetricLogs;
        this.enableSipLogs = $.enableSipLogs;
        this.voiceConnectorId = $.voiceConnectorId;
    }

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

    public static final class Builder {
        private VoiceConnectorLoggingArgs $;

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

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

        /**
         * @param enableMediaMetricLogs When true, enables logging of detailed media metrics for Voice Connectors to Amazon CloudWatch logs.
         * 
         * @return builder
         * 
         */
        public Builder enableMediaMetricLogs(@Nullable Output enableMediaMetricLogs) {
            $.enableMediaMetricLogs = enableMediaMetricLogs;
            return this;
        }

        /**
         * @param enableMediaMetricLogs When true, enables logging of detailed media metrics for Voice Connectors to Amazon CloudWatch logs.
         * 
         * @return builder
         * 
         */
        public Builder enableMediaMetricLogs(Boolean enableMediaMetricLogs) {
            return enableMediaMetricLogs(Output.of(enableMediaMetricLogs));
        }

        /**
         * @param enableSipLogs When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
         * 
         * @return builder
         * 
         */
        public Builder enableSipLogs(@Nullable Output enableSipLogs) {
            $.enableSipLogs = enableSipLogs;
            return this;
        }

        /**
         * @param enableSipLogs When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
         * 
         * @return builder
         * 
         */
        public Builder enableSipLogs(Boolean enableSipLogs) {
            return enableSipLogs(Output.of(enableSipLogs));
        }

        /**
         * @param voiceConnectorId The Amazon Chime Voice Connector ID.
         * 
         * @return builder
         * 
         */
        public Builder voiceConnectorId(Output voiceConnectorId) {
            $.voiceConnectorId = voiceConnectorId;
            return this;
        }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy