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

com.pulumi.aws.fms.inputs.ResourceSetState 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.aws.fms.inputs;

import com.pulumi.aws.fms.inputs.ResourceSetResourceSetArgs;
import com.pulumi.aws.fms.inputs.ResourceSetTimeoutsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ResourceSetState Empty = new ResourceSetState();

    /**
     * ARN of the Resource Set.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return ARN of the Resource Set.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * Details about the resource set to be created or updated. See `resource_set` Attribute Reference below.
     * 
     */
    @Import(name="resourceSets")
    private @Nullable Output> resourceSets;

    /**
     * @return Details about the resource set to be created or updated. See `resource_set` Attribute Reference below.
     * 
     */
    public Optional>> resourceSets() {
        return Optional.ofNullable(this.resourceSets);
    }

    @Import(name="tags")
    private @Nullable Output> tags;

    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    @Import(name="tagsAll")
    private @Nullable Output> tagsAll;

    /**
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    public Optional>> tagsAll() {
        return Optional.ofNullable(this.tagsAll);
    }

    @Import(name="timeouts")
    private @Nullable Output timeouts;

    public Optional> timeouts() {
        return Optional.ofNullable(this.timeouts);
    }

    private ResourceSetState() {}

    private ResourceSetState(ResourceSetState $) {
        this.arn = $.arn;
        this.resourceSets = $.resourceSets;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
        this.timeouts = $.timeouts;
    }

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

    public static final class Builder {
        private ResourceSetState $;

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

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

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

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

        /**
         * @param resourceSets Details about the resource set to be created or updated. See `resource_set` Attribute Reference below.
         * 
         * @return builder
         * 
         */
        public Builder resourceSets(@Nullable Output> resourceSets) {
            $.resourceSets = resourceSets;
            return this;
        }

        /**
         * @param resourceSets Details about the resource set to be created or updated. See `resource_set` Attribute Reference below.
         * 
         * @return builder
         * 
         */
        public Builder resourceSets(List resourceSets) {
            return resourceSets(Output.of(resourceSets));
        }

        /**
         * @param resourceSets Details about the resource set to be created or updated. See `resource_set` Attribute Reference below.
         * 
         * @return builder
         * 
         */
        public Builder resourceSets(ResourceSetResourceSetArgs... resourceSets) {
            return resourceSets(List.of(resourceSets));
        }

        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(@Nullable Output> tagsAll) {
            $.tagsAll = tagsAll;
            return this;
        }

        /**
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(Map tagsAll) {
            return tagsAll(Output.of(tagsAll));
        }

        public Builder timeouts(@Nullable Output timeouts) {
            $.timeouts = timeouts;
            return this;
        }

        public Builder timeouts(ResourceSetTimeoutsArgs timeouts) {
            return timeouts(Output.of(timeouts));
        }

        public ResourceSetState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy