// *** 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.fsx.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DataRepositoryAssociationS3AutoExportPolicyArgs Empty = new DataRepositoryAssociationS3AutoExportPolicyArgs();

    /**
     * A list of file event types to automatically export to your linked S3 bucket or import from the linked S3 bucket. Valid values are `NEW`, `CHANGED`, `DELETED`. Max of 3.
     * 
     */
    @Import(name="events")
    private @Nullable Output<List<String>> events;

    /**
     * @return A list of file event types to automatically export to your linked S3 bucket or import from the linked S3 bucket. Valid values are `NEW`, `CHANGED`, `DELETED`. Max of 3.
     * 
     */
    public Optional<Output<List<String>>> events() {
        return Optional.ofNullable(this.events);
    }

    private DataRepositoryAssociationS3AutoExportPolicyArgs() {}

    private DataRepositoryAssociationS3AutoExportPolicyArgs(DataRepositoryAssociationS3AutoExportPolicyArgs $) {
        this.events = $.events;
    }

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

    public static final class Builder {
        private DataRepositoryAssociationS3AutoExportPolicyArgs $;

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

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

        /**
         * @param events A list of file event types to automatically export to your linked S3 bucket or import from the linked S3 bucket. Valid values are `NEW`, `CHANGED`, `DELETED`. Max of 3.
         * 
         * @return builder
         * 
         */
        public Builder events(@Nullable Output<List<String>> events) {
            $.events = events;
            return this;
        }

        /**
         * @param events A list of file event types to automatically export to your linked S3 bucket or import from the linked S3 bucket. Valid values are `NEW`, `CHANGED`, `DELETED`. Max of 3.
         * 
         * @return builder
         * 
         */
        public Builder events(List<String> events) {
            return events(Output.of(events));
        }

        /**
         * @param events A list of file event types to automatically export to your linked S3 bucket or import from the linked S3 bucket. Valid values are `NEW`, `CHANGED`, `DELETED`. Max of 3.
         * 
         * @return builder
         * 
         */
        public Builder events(String... events) {
            return events(List.of(events));
        }

        public DataRepositoryAssociationS3AutoExportPolicyArgs build() {
            return $;
        }
    }

}
