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

com.pulumi.aws.fsx.inputs.DataRepositoryAssociationS3AutoImportPolicyArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The 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.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 DataRepositoryAssociationS3AutoImportPolicyArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataRepositoryAssociationS3AutoImportPolicyArgs Empty = new DataRepositoryAssociationS3AutoImportPolicyArgs();

    /**
     * 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> 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>> events() {
        return Optional.ofNullable(this.events);
    }

    private DataRepositoryAssociationS3AutoImportPolicyArgs() {}

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

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

    public static final class Builder {
        private DataRepositoryAssociationS3AutoImportPolicyArgs $;

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

        public Builder(DataRepositoryAssociationS3AutoImportPolicyArgs defaults) {
            $ = new DataRepositoryAssociationS3AutoImportPolicyArgs(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> 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 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 DataRepositoryAssociationS3AutoImportPolicyArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy