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

com.pulumi.aws.imagebuilder.inputs.GetContainerRecipeArgs 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.60.0-alpha.1731982519
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.imagebuilder.inputs;

import com.pulumi.core.Output;
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 GetContainerRecipeArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetContainerRecipeArgs Empty = new GetContainerRecipeArgs();

    /**
     * ARN of the container recipe.
     * 
     */
    @Import(name="arn", required=true)
    private Output arn;

    /**
     * @return ARN of the container recipe.
     * 
     */
    public Output arn() {
        return this.arn;
    }

    /**
     * Key-value map of resource tags for the container recipe.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Key-value map of resource tags for the container recipe.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetContainerRecipeArgs() {}

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

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

    public static final class Builder {
        private GetContainerRecipeArgs $;

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

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

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

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

        /**
         * @param tags Key-value map of resource tags for the container recipe.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Key-value map of resource tags for the container recipe.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy