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

com.pulumi.aws.evidently.outputs.ProjectDataDelivery 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.evidently.outputs;

import com.pulumi.aws.evidently.outputs.ProjectDataDeliveryCloudwatchLogs;
import com.pulumi.aws.evidently.outputs.ProjectDataDeliveryS3Destination;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ProjectDataDelivery {
    /**
     * @return A block that defines the CloudWatch Log Group that stores the evaluation events. See below.
     * 
     */
    private @Nullable ProjectDataDeliveryCloudwatchLogs cloudwatchLogs;
    /**
     * @return A block that defines the S3 bucket and prefix that stores the evaluation events. See below.
     * 
     */
    private @Nullable ProjectDataDeliveryS3Destination s3Destination;

    private ProjectDataDelivery() {}
    /**
     * @return A block that defines the CloudWatch Log Group that stores the evaluation events. See below.
     * 
     */
    public Optional cloudwatchLogs() {
        return Optional.ofNullable(this.cloudwatchLogs);
    }
    /**
     * @return A block that defines the S3 bucket and prefix that stores the evaluation events. See below.
     * 
     */
    public Optional s3Destination() {
        return Optional.ofNullable(this.s3Destination);
    }

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

    public static Builder builder(ProjectDataDelivery defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable ProjectDataDeliveryCloudwatchLogs cloudwatchLogs;
        private @Nullable ProjectDataDeliveryS3Destination s3Destination;
        public Builder() {}
        public Builder(ProjectDataDelivery defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cloudwatchLogs = defaults.cloudwatchLogs;
    	      this.s3Destination = defaults.s3Destination;
        }

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

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

            this.s3Destination = s3Destination;
            return this;
        }
        public ProjectDataDelivery build() {
            final var _resultValue = new ProjectDataDelivery();
            _resultValue.cloudwatchLogs = cloudwatchLogs;
            _resultValue.s3Destination = s3Destination;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy