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

com.pulumi.aws.mskconnect.outputs.ConnectorLogDeliveryWorkerLogDelivery 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.mskconnect.outputs;

import com.pulumi.aws.mskconnect.outputs.ConnectorLogDeliveryWorkerLogDeliveryCloudwatchLogs;
import com.pulumi.aws.mskconnect.outputs.ConnectorLogDeliveryWorkerLogDeliveryFirehose;
import com.pulumi.aws.mskconnect.outputs.ConnectorLogDeliveryWorkerLogDeliveryS3;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ConnectorLogDeliveryWorkerLogDelivery {
    /**
     * @return Details about delivering logs to Amazon CloudWatch Logs. See `cloudwatch_logs` Block for details.
     * 
     */
    private @Nullable ConnectorLogDeliveryWorkerLogDeliveryCloudwatchLogs cloudwatchLogs;
    /**
     * @return Details about delivering logs to Amazon Kinesis Data Firehose. See `firehose` Block for details.
     * 
     */
    private @Nullable ConnectorLogDeliveryWorkerLogDeliveryFirehose firehose;
    /**
     * @return Details about delivering logs to Amazon S3. See `s3` Block for deetails.
     * 
     */
    private @Nullable ConnectorLogDeliveryWorkerLogDeliveryS3 s3;

    private ConnectorLogDeliveryWorkerLogDelivery() {}
    /**
     * @return Details about delivering logs to Amazon CloudWatch Logs. See `cloudwatch_logs` Block for details.
     * 
     */
    public Optional cloudwatchLogs() {
        return Optional.ofNullable(this.cloudwatchLogs);
    }
    /**
     * @return Details about delivering logs to Amazon Kinesis Data Firehose. See `firehose` Block for details.
     * 
     */
    public Optional firehose() {
        return Optional.ofNullable(this.firehose);
    }
    /**
     * @return Details about delivering logs to Amazon S3. See `s3` Block for deetails.
     * 
     */
    public Optional s3() {
        return Optional.ofNullable(this.s3);
    }

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

    public static Builder builder(ConnectorLogDeliveryWorkerLogDelivery defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable ConnectorLogDeliveryWorkerLogDeliveryCloudwatchLogs cloudwatchLogs;
        private @Nullable ConnectorLogDeliveryWorkerLogDeliveryFirehose firehose;
        private @Nullable ConnectorLogDeliveryWorkerLogDeliveryS3 s3;
        public Builder() {}
        public Builder(ConnectorLogDeliveryWorkerLogDelivery defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cloudwatchLogs = defaults.cloudwatchLogs;
    	      this.firehose = defaults.firehose;
    	      this.s3 = defaults.s3;
        }

        @CustomType.Setter
        public Builder cloudwatchLogs(@Nullable ConnectorLogDeliveryWorkerLogDeliveryCloudwatchLogs cloudwatchLogs) {

            this.cloudwatchLogs = cloudwatchLogs;
            return this;
        }
        @CustomType.Setter
        public Builder firehose(@Nullable ConnectorLogDeliveryWorkerLogDeliveryFirehose firehose) {

            this.firehose = firehose;
            return this;
        }
        @CustomType.Setter
        public Builder s3(@Nullable ConnectorLogDeliveryWorkerLogDeliveryS3 s3) {

            this.s3 = s3;
            return this;
        }
        public ConnectorLogDeliveryWorkerLogDelivery build() {
            final var _resultValue = new ConnectorLogDeliveryWorkerLogDelivery();
            _resultValue.cloudwatchLogs = cloudwatchLogs;
            _resultValue.firehose = firehose;
            _resultValue.s3 = s3;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy