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

com.pulumi.azurenative.storage.inputs.ExecutionTargetArgs Maven / Gradle / Ivy

There is a newer version: 2.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.azurenative.storage.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;


/**
 * Target helps provide filter parameters for the objects in the storage account and forms the execution context for the storage task
 * 
 */
public final class ExecutionTargetArgs extends com.pulumi.resources.ResourceArgs {

    public static final ExecutionTargetArgs Empty = new ExecutionTargetArgs();

    /**
     * List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor
     * 
     */
    @Import(name="excludePrefix")
    private @Nullable Output> excludePrefix;

    /**
     * @return List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor
     * 
     */
    public Optional>> excludePrefix() {
        return Optional.ofNullable(this.excludePrefix);
    }

    /**
     * Required list of object prefixes to be included for task execution
     * 
     */
    @Import(name="prefix")
    private @Nullable Output> prefix;

    /**
     * @return Required list of object prefixes to be included for task execution
     * 
     */
    public Optional>> prefix() {
        return Optional.ofNullable(this.prefix);
    }

    private ExecutionTargetArgs() {}

    private ExecutionTargetArgs(ExecutionTargetArgs $) {
        this.excludePrefix = $.excludePrefix;
        this.prefix = $.prefix;
    }

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

    public static final class Builder {
        private ExecutionTargetArgs $;

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

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

        /**
         * @param excludePrefix List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor
         * 
         * @return builder
         * 
         */
        public Builder excludePrefix(@Nullable Output> excludePrefix) {
            $.excludePrefix = excludePrefix;
            return this;
        }

        /**
         * @param excludePrefix List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor
         * 
         * @return builder
         * 
         */
        public Builder excludePrefix(List excludePrefix) {
            return excludePrefix(Output.of(excludePrefix));
        }

        /**
         * @param excludePrefix List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor
         * 
         * @return builder
         * 
         */
        public Builder excludePrefix(String... excludePrefix) {
            return excludePrefix(List.of(excludePrefix));
        }

        /**
         * @param prefix Required list of object prefixes to be included for task execution
         * 
         * @return builder
         * 
         */
        public Builder prefix(@Nullable Output> prefix) {
            $.prefix = prefix;
            return this;
        }

        /**
         * @param prefix Required list of object prefixes to be included for task execution
         * 
         * @return builder
         * 
         */
        public Builder prefix(List prefix) {
            return prefix(Output.of(prefix));
        }

        /**
         * @param prefix Required list of object prefixes to be included for task execution
         * 
         * @return builder
         * 
         */
        public Builder prefix(String... prefix) {
            return prefix(List.of(prefix));
        }

        public ExecutionTargetArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy