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

com.pulumi.aws.datasync.inputs.TaskExcludesArgs 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.72.0
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.datasync.inputs;

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


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

    public static final TaskExcludesArgs Empty = new TaskExcludesArgs();

    /**
     * The type of filter rule to apply. Valid values: `SIMPLE_PATTERN`.
     * 
     */
    @Import(name="filterType")
    private @Nullable Output filterType;

    /**
     * @return The type of filter rule to apply. Valid values: `SIMPLE_PATTERN`.
     * 
     */
    public Optional> filterType() {
        return Optional.ofNullable(this.filterType);
    }

    /**
     * A single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example: `/folder1|/folder2`
     * 
     */
    @Import(name="value")
    private @Nullable Output value;

    /**
     * @return A single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example: `/folder1|/folder2`
     * 
     */
    public Optional> value() {
        return Optional.ofNullable(this.value);
    }

    private TaskExcludesArgs() {}

    private TaskExcludesArgs(TaskExcludesArgs $) {
        this.filterType = $.filterType;
        this.value = $.value;
    }

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

    public static final class Builder {
        private TaskExcludesArgs $;

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

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

        /**
         * @param filterType The type of filter rule to apply. Valid values: `SIMPLE_PATTERN`.
         * 
         * @return builder
         * 
         */
        public Builder filterType(@Nullable Output filterType) {
            $.filterType = filterType;
            return this;
        }

        /**
         * @param filterType The type of filter rule to apply. Valid values: `SIMPLE_PATTERN`.
         * 
         * @return builder
         * 
         */
        public Builder filterType(String filterType) {
            return filterType(Output.of(filterType));
        }

        /**
         * @param value A single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example: `/folder1|/folder2`
         * 
         * @return builder
         * 
         */
        public Builder value(@Nullable Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value A single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example: `/folder1|/folder2`
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            return value(Output.of(value));
        }

        public TaskExcludesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy