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

com.pulumi.aws.mskconnect.inputs.ConnectorLogDeliveryWorkerLogDeliveryArgs 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.66.3
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.mskconnect.inputs;

import com.pulumi.aws.mskconnect.inputs.ConnectorLogDeliveryWorkerLogDeliveryCloudwatchLogsArgs;
import com.pulumi.aws.mskconnect.inputs.ConnectorLogDeliveryWorkerLogDeliveryFirehoseArgs;
import com.pulumi.aws.mskconnect.inputs.ConnectorLogDeliveryWorkerLogDeliveryS3Args;
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 ConnectorLogDeliveryWorkerLogDeliveryArgs extends com.pulumi.resources.ResourceArgs {

    public static final ConnectorLogDeliveryWorkerLogDeliveryArgs Empty = new ConnectorLogDeliveryWorkerLogDeliveryArgs();

    /**
     * Details about delivering logs to Amazon CloudWatch Logs. See `cloudwatch_logs` Block for details.
     * 
     */
    @Import(name="cloudwatchLogs")
    private @Nullable Output cloudwatchLogs;

    /**
     * @return Details about delivering logs to Amazon CloudWatch Logs. See `cloudwatch_logs` Block for details.
     * 
     */
    public Optional> cloudwatchLogs() {
        return Optional.ofNullable(this.cloudwatchLogs);
    }

    /**
     * Details about delivering logs to Amazon Kinesis Data Firehose. See `firehose` Block for details.
     * 
     */
    @Import(name="firehose")
    private @Nullable Output firehose;

    /**
     * @return Details about delivering logs to Amazon Kinesis Data Firehose. See `firehose` Block for details.
     * 
     */
    public Optional> firehose() {
        return Optional.ofNullable(this.firehose);
    }

    /**
     * Details about delivering logs to Amazon S3. See `s3` Block for deetails.
     * 
     */
    @Import(name="s3")
    private @Nullable Output s3;

    /**
     * @return Details about delivering logs to Amazon S3. See `s3` Block for deetails.
     * 
     */
    public Optional> s3() {
        return Optional.ofNullable(this.s3);
    }

    private ConnectorLogDeliveryWorkerLogDeliveryArgs() {}

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

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

    public static final class Builder {
        private ConnectorLogDeliveryWorkerLogDeliveryArgs $;

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

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

        /**
         * @param cloudwatchLogs Details about delivering logs to Amazon CloudWatch Logs. See `cloudwatch_logs` Block for details.
         * 
         * @return builder
         * 
         */
        public Builder cloudwatchLogs(@Nullable Output cloudwatchLogs) {
            $.cloudwatchLogs = cloudwatchLogs;
            return this;
        }

        /**
         * @param cloudwatchLogs Details about delivering logs to Amazon CloudWatch Logs. See `cloudwatch_logs` Block for details.
         * 
         * @return builder
         * 
         */
        public Builder cloudwatchLogs(ConnectorLogDeliveryWorkerLogDeliveryCloudwatchLogsArgs cloudwatchLogs) {
            return cloudwatchLogs(Output.of(cloudwatchLogs));
        }

        /**
         * @param firehose Details about delivering logs to Amazon Kinesis Data Firehose. See `firehose` Block for details.
         * 
         * @return builder
         * 
         */
        public Builder firehose(@Nullable Output firehose) {
            $.firehose = firehose;
            return this;
        }

        /**
         * @param firehose Details about delivering logs to Amazon Kinesis Data Firehose. See `firehose` Block for details.
         * 
         * @return builder
         * 
         */
        public Builder firehose(ConnectorLogDeliveryWorkerLogDeliveryFirehoseArgs firehose) {
            return firehose(Output.of(firehose));
        }

        /**
         * @param s3 Details about delivering logs to Amazon S3. See `s3` Block for deetails.
         * 
         * @return builder
         * 
         */
        public Builder s3(@Nullable Output s3) {
            $.s3 = s3;
            return this;
        }

        /**
         * @param s3 Details about delivering logs to Amazon S3. See `s3` Block for deetails.
         * 
         * @return builder
         * 
         */
        public Builder s3(ConnectorLogDeliveryWorkerLogDeliveryS3Args s3) {
            return s3(Output.of(s3));
        }

        public ConnectorLogDeliveryWorkerLogDeliveryArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy