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

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

import com.pulumi.aws.route53recoveryreadiness.inputs.ResourceSetResourceArgs;
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
     * * `resources.#.component_id` - Unique identified for DNS Target Resources, use for readiness checks.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return ARN of the resource set
     * * `resources.#.component_id` - Unique identified for DNS Target Resources, use for readiness checks.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * Unique name describing the resource set.
     * 
     */
    @Import(name="resourceSetName")
    private @Nullable Output resourceSetName;

    /**
     * @return Unique name describing the resource set.
     * 
     */
    public Optional> resourceSetName() {
        return Optional.ofNullable(this.resourceSetName);
    }

    /**
     * Type of the resources in the resource set.
     * 
     */
    @Import(name="resourceSetType")
    private @Nullable Output resourceSetType;

    /**
     * @return Type of the resources in the resource set.
     * 
     */
    public Optional> resourceSetType() {
        return Optional.ofNullable(this.resourceSetType);
    }

    /**
     * List of resources to add to this resource set. See below.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="resources")
    private @Nullable Output> resources;

    /**
     * @return List of resources to add to this resource set. See below.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional>> resources() {
        return Optional.ofNullable(this.resources);
    }

    /**
     * Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    @Import(name="tagsAll")
    private @Nullable Output> tagsAll;

    /**
     * @return Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    public Optional>> tagsAll() {
        return Optional.ofNullable(this.tagsAll);
    }

    private ResourceSetState() {}

    private ResourceSetState(ResourceSetState $) {
        this.arn = $.arn;
        this.resourceSetName = $.resourceSetName;
        this.resourceSetType = $.resourceSetType;
        this.resources = $.resources;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
    }

    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
         * * `resources.#.component_id` - Unique identified for DNS Target Resources, use for readiness checks.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn ARN of the resource set
         * * `resources.#.component_id` - Unique identified for DNS Target Resources, use for readiness checks.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param resourceSetName Unique name describing the resource set.
         * 
         * @return builder
         * 
         */
        public Builder resourceSetName(@Nullable Output resourceSetName) {
            $.resourceSetName = resourceSetName;
            return this;
        }

        /**
         * @param resourceSetName Unique name describing the resource set.
         * 
         * @return builder
         * 
         */
        public Builder resourceSetName(String resourceSetName) {
            return resourceSetName(Output.of(resourceSetName));
        }

        /**
         * @param resourceSetType Type of the resources in the resource set.
         * 
         * @return builder
         * 
         */
        public Builder resourceSetType(@Nullable Output resourceSetType) {
            $.resourceSetType = resourceSetType;
            return this;
        }

        /**
         * @param resourceSetType Type of the resources in the resource set.
         * 
         * @return builder
         * 
         */
        public Builder resourceSetType(String resourceSetType) {
            return resourceSetType(Output.of(resourceSetType));
        }

        /**
         * @param resources List of resources to add to this resource set. See below.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder resources(@Nullable Output> resources) {
            $.resources = resources;
            return this;
        }

        /**
         * @param resources List of resources to add to this resource set. See below.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder resources(List resources) {
            return resources(Output.of(resources));
        }

        /**
         * @param resources List of resources to add to this resource set. See below.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder resources(ResourceSetResourceArgs... resources) {
            return resources(List.of(resources));
        }

        /**
         * @param tags Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param tagsAll Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(@Nullable Output> tagsAll) {
            $.tagsAll = tagsAll;
            return this;
        }

        /**
         * @param tagsAll Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(Map tagsAll) {
            return tagsAll(Output.of(tagsAll));
        }

        public ResourceSetState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy