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

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

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 CellState extends com.pulumi.resources.ResourceArgs {

    public static final CellState Empty = new CellState();

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

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

    /**
     * Unique name describing the cell.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="cellName")
    private @Nullable Output cellName;

    /**
     * @return Unique name describing the cell.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional> cellName() {
        return Optional.ofNullable(this.cellName);
    }

    /**
     * List of cell arns to add as nested fault domains within this cell.
     * 
     */
    @Import(name="cells")
    private @Nullable Output> cells;

    /**
     * @return List of cell arns to add as nested fault domains within this cell.
     * 
     */
    public Optional>> cells() {
        return Optional.ofNullable(this.cells);
    }

    /**
     * List of readiness scopes (recovery groups or cells) that contain this cell.
     * 
     */
    @Import(name="parentReadinessScopes")
    private @Nullable Output> parentReadinessScopes;

    /**
     * @return List of readiness scopes (recovery groups or cells) that contain this cell.
     * 
     */
    public Optional>> parentReadinessScopes() {
        return Optional.ofNullable(this.parentReadinessScopes);
    }

    /**
     * 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 CellState() {}

    private CellState(CellState $) {
        this.arn = $.arn;
        this.cellName = $.cellName;
        this.cells = $.cells;
        this.parentReadinessScopes = $.parentReadinessScopes;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
    }

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

    public static final class Builder {
        private CellState $;

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

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

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

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

        /**
         * @param cellName Unique name describing the cell.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder cellName(@Nullable Output cellName) {
            $.cellName = cellName;
            return this;
        }

        /**
         * @param cellName Unique name describing the cell.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder cellName(String cellName) {
            return cellName(Output.of(cellName));
        }

        /**
         * @param cells List of cell arns to add as nested fault domains within this cell.
         * 
         * @return builder
         * 
         */
        public Builder cells(@Nullable Output> cells) {
            $.cells = cells;
            return this;
        }

        /**
         * @param cells List of cell arns to add as nested fault domains within this cell.
         * 
         * @return builder
         * 
         */
        public Builder cells(List cells) {
            return cells(Output.of(cells));
        }

        /**
         * @param cells List of cell arns to add as nested fault domains within this cell.
         * 
         * @return builder
         * 
         */
        public Builder cells(String... cells) {
            return cells(List.of(cells));
        }

        /**
         * @param parentReadinessScopes List of readiness scopes (recovery groups or cells) that contain this cell.
         * 
         * @return builder
         * 
         */
        public Builder parentReadinessScopes(@Nullable Output> parentReadinessScopes) {
            $.parentReadinessScopes = parentReadinessScopes;
            return this;
        }

        /**
         * @param parentReadinessScopes List of readiness scopes (recovery groups or cells) that contain this cell.
         * 
         * @return builder
         * 
         */
        public Builder parentReadinessScopes(List parentReadinessScopes) {
            return parentReadinessScopes(Output.of(parentReadinessScopes));
        }

        /**
         * @param parentReadinessScopes List of readiness scopes (recovery groups or cells) that contain this cell.
         * 
         * @return builder
         * 
         */
        public Builder parentReadinessScopes(String... parentReadinessScopes) {
            return parentReadinessScopes(List.of(parentReadinessScopes));
        }

        /**
         * @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 CellState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy