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

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

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


public final class GetResponsePlanPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetResponsePlanPlainArgs Empty = new GetResponsePlanPlainArgs();

    /**
     * The Amazon Resource Name (ARN) of the response plan.
     * 
     */
    @Import(name="arn", required=true)
    private String arn;

    /**
     * @return The Amazon Resource Name (ARN) of the response plan.
     * 
     */
    public String arn() {
        return this.arn;
    }

    /**
     * The tags applied to the response plan.
     * 
     */
    @Import(name="tags")
    private @Nullable Map tags;

    /**
     * @return The tags applied to the response plan.
     * 
     */
    public Optional> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetResponsePlanPlainArgs() {}

    private GetResponsePlanPlainArgs(GetResponsePlanPlainArgs $) {
        this.arn = $.arn;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetResponsePlanPlainArgs $;

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

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

        /**
         * @param arn The Amazon Resource Name (ARN) of the response plan.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param tags The tags applied to the response plan.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Map tags) {
            $.tags = tags;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy