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

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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ReplicationSetRegionArgs Empty = new ReplicationSetRegionArgs();

    /**
     * The Amazon Resource name (ARN) of the customer managed key. If omitted, AWS manages the AWS KMS keys for you, using an AWS owned key, as indicated by a default value of `DefaultKey`.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="kmsKeyArn")
    private @Nullable Output kmsKeyArn;

    /**
     * @return The Amazon Resource name (ARN) of the customer managed key. If omitted, AWS manages the AWS KMS keys for you, using an AWS owned key, as indicated by a default value of `DefaultKey`.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional> kmsKeyArn() {
        return Optional.ofNullable(this.kmsKeyArn);
    }

    /**
     * The name of the Region, such as `ap-southeast-2`.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The name of the Region, such as `ap-southeast-2`.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * The current status of the Region.
     * * Valid Values: `ACTIVE` | `CREATING` | `UPDATING` | `DELETING` | `FAILED`
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return The current status of the Region.
     * * Valid Values: `ACTIVE` | `CREATING` | `UPDATING` | `DELETING` | `FAILED`
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * More information about the status of a Region.
     * 
     */
    @Import(name="statusMessage")
    private @Nullable Output statusMessage;

    /**
     * @return More information about the status of a Region.
     * 
     */
    public Optional> statusMessage() {
        return Optional.ofNullable(this.statusMessage);
    }

    private ReplicationSetRegionArgs() {}

    private ReplicationSetRegionArgs(ReplicationSetRegionArgs $) {
        this.kmsKeyArn = $.kmsKeyArn;
        this.name = $.name;
        this.status = $.status;
        this.statusMessage = $.statusMessage;
    }

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

    public static final class Builder {
        private ReplicationSetRegionArgs $;

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

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

        /**
         * @param kmsKeyArn The Amazon Resource name (ARN) of the customer managed key. If omitted, AWS manages the AWS KMS keys for you, using an AWS owned key, as indicated by a default value of `DefaultKey`.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyArn(@Nullable Output kmsKeyArn) {
            $.kmsKeyArn = kmsKeyArn;
            return this;
        }

        /**
         * @param kmsKeyArn The Amazon Resource name (ARN) of the customer managed key. If omitted, AWS manages the AWS KMS keys for you, using an AWS owned key, as indicated by a default value of `DefaultKey`.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyArn(String kmsKeyArn) {
            return kmsKeyArn(Output.of(kmsKeyArn));
        }

        /**
         * @param name The name of the Region, such as `ap-southeast-2`.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the Region, such as `ap-southeast-2`.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param status The current status of the Region.
         * * Valid Values: `ACTIVE` | `CREATING` | `UPDATING` | `DELETING` | `FAILED`
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status The current status of the Region.
         * * Valid Values: `ACTIVE` | `CREATING` | `UPDATING` | `DELETING` | `FAILED`
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        /**
         * @param statusMessage More information about the status of a Region.
         * 
         * @return builder
         * 
         */
        public Builder statusMessage(@Nullable Output statusMessage) {
            $.statusMessage = statusMessage;
            return this;
        }

        /**
         * @param statusMessage More information about the status of a Region.
         * 
         * @return builder
         * 
         */
        public Builder statusMessage(String statusMessage) {
            return statusMessage(Output.of(statusMessage));
        }

        public ReplicationSetRegionArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("ReplicationSetRegionArgs", "name");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy