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

com.pulumi.azurenative.awsconnector.inputs.AwsMacieAllowListPropertiesArgs 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.azurenative.awsconnector.inputs;

import com.pulumi.azurenative.awsconnector.enums.Status;
import com.pulumi.azurenative.awsconnector.inputs.CriteriaArgs;
import com.pulumi.azurenative.awsconnector.inputs.TagArgs;
import com.pulumi.core.Either;
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;


/**
 * Definition of awsMacieAllowList
 * 
 */
public final class AwsMacieAllowListPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final AwsMacieAllowListPropertiesArgs Empty = new AwsMacieAllowListPropertiesArgs();

    /**
     * AllowList ARN.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return AllowList ARN.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * AllowList criteria. The regex or s3 object to use for the AllowList.
     * 
     */
    @Import(name="criteria")
    private @Nullable Output criteria;

    /**
     * @return AllowList criteria. The regex or s3 object to use for the AllowList.
     * 
     */
    public Optional> criteria() {
        return Optional.ofNullable(this.criteria);
    }

    /**
     * Description of AllowList.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Description of AllowList.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * AllowList ID.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return AllowList ID.
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * Name of AllowList.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of AllowList.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * AllowList status. The status for the AllowList
     * 
     */
    @Import(name="status")
    private @Nullable Output> status;

    /**
     * @return AllowList status. The status for the AllowList
     * 
     */
    public Optional>> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * A collection of tags associated with a resource
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A collection of tags associated with a resource
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private AwsMacieAllowListPropertiesArgs() {}

    private AwsMacieAllowListPropertiesArgs(AwsMacieAllowListPropertiesArgs $) {
        this.arn = $.arn;
        this.criteria = $.criteria;
        this.description = $.description;
        this.id = $.id;
        this.name = $.name;
        this.status = $.status;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private AwsMacieAllowListPropertiesArgs $;

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

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

        /**
         * @param arn AllowList ARN.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn AllowList ARN.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param criteria AllowList criteria. The regex or s3 object to use for the AllowList.
         * 
         * @return builder
         * 
         */
        public Builder criteria(@Nullable Output criteria) {
            $.criteria = criteria;
            return this;
        }

        /**
         * @param criteria AllowList criteria. The regex or s3 object to use for the AllowList.
         * 
         * @return builder
         * 
         */
        public Builder criteria(CriteriaArgs criteria) {
            return criteria(Output.of(criteria));
        }

        /**
         * @param description Description of AllowList.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Description of AllowList.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param id AllowList ID.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id AllowList ID.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param name Name of AllowList.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of AllowList.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param status AllowList status. The status for the AllowList
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output> status) {
            $.status = status;
            return this;
        }

        /**
         * @param status AllowList status. The status for the AllowList
         * 
         * @return builder
         * 
         */
        public Builder status(Either status) {
            return status(Output.of(status));
        }

        /**
         * @param status AllowList status. The status for the AllowList
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Either.ofLeft(status));
        }

        /**
         * @param status AllowList status. The status for the AllowList
         * 
         * @return builder
         * 
         */
        public Builder status(Status status) {
            return status(Either.ofRight(status));
        }

        /**
         * @param tags A collection of tags associated with a resource
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A collection of tags associated with a resource
         * 
         * @return builder
         * 
         */
        public Builder tags(List tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param tags A collection of tags associated with a resource
         * 
         * @return builder
         * 
         */
        public Builder tags(TagArgs... tags) {
            return tags(List.of(tags));
        }

        public AwsMacieAllowListPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy