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

com.pulumi.aws.ivschat.inputs.LoggingConfigurationDestinationConfigurationArgs 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.ivschat.inputs;

import com.pulumi.aws.ivschat.inputs.LoggingConfigurationDestinationConfigurationCloudwatchLogsArgs;
import com.pulumi.aws.ivschat.inputs.LoggingConfigurationDestinationConfigurationFirehoseArgs;
import com.pulumi.aws.ivschat.inputs.LoggingConfigurationDestinationConfigurationS3Args;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final LoggingConfigurationDestinationConfigurationArgs Empty = new LoggingConfigurationDestinationConfigurationArgs();

    /**
     * An Amazon CloudWatch Logs destination configuration where chat activity will be logged.
     * 
     */
    @Import(name="cloudwatchLogs")
    private @Nullable Output cloudwatchLogs;

    /**
     * @return An Amazon CloudWatch Logs destination configuration where chat activity will be logged.
     * 
     */
    public Optional> cloudwatchLogs() {
        return Optional.ofNullable(this.cloudwatchLogs);
    }

    /**
     * An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.
     * 
     */
    @Import(name="firehose")
    private @Nullable Output firehose;

    /**
     * @return An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.
     * 
     */
    public Optional> firehose() {
        return Optional.ofNullable(this.firehose);
    }

    /**
     * An Amazon S3 destination configuration where chat activity will be logged.
     * 
     */
    @Import(name="s3")
    private @Nullable Output s3;

    /**
     * @return An Amazon S3 destination configuration where chat activity will be logged.
     * 
     */
    public Optional> s3() {
        return Optional.ofNullable(this.s3);
    }

    private LoggingConfigurationDestinationConfigurationArgs() {}

    private LoggingConfigurationDestinationConfigurationArgs(LoggingConfigurationDestinationConfigurationArgs $) {
        this.cloudwatchLogs = $.cloudwatchLogs;
        this.firehose = $.firehose;
        this.s3 = $.s3;
    }

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

    public static final class Builder {
        private LoggingConfigurationDestinationConfigurationArgs $;

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

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

        /**
         * @param cloudwatchLogs An Amazon CloudWatch Logs destination configuration where chat activity will be logged.
         * 
         * @return builder
         * 
         */
        public Builder cloudwatchLogs(@Nullable Output cloudwatchLogs) {
            $.cloudwatchLogs = cloudwatchLogs;
            return this;
        }

        /**
         * @param cloudwatchLogs An Amazon CloudWatch Logs destination configuration where chat activity will be logged.
         * 
         * @return builder
         * 
         */
        public Builder cloudwatchLogs(LoggingConfigurationDestinationConfigurationCloudwatchLogsArgs cloudwatchLogs) {
            return cloudwatchLogs(Output.of(cloudwatchLogs));
        }

        /**
         * @param firehose An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.
         * 
         * @return builder
         * 
         */
        public Builder firehose(@Nullable Output firehose) {
            $.firehose = firehose;
            return this;
        }

        /**
         * @param firehose An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.
         * 
         * @return builder
         * 
         */
        public Builder firehose(LoggingConfigurationDestinationConfigurationFirehoseArgs firehose) {
            return firehose(Output.of(firehose));
        }

        /**
         * @param s3 An Amazon S3 destination configuration where chat activity will be logged.
         * 
         * @return builder
         * 
         */
        public Builder s3(@Nullable Output s3) {
            $.s3 = s3;
            return this;
        }

        /**
         * @param s3 An Amazon S3 destination configuration where chat activity will be logged.
         * 
         * @return builder
         * 
         */
        public Builder s3(LoggingConfigurationDestinationConfigurationS3Args s3) {
            return s3(Output.of(s3));
        }

        public LoggingConfigurationDestinationConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy