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

com.pulumi.aws.imagebuilder.inputs.GetImageRecipeArgs 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 GetImageRecipeArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetImageRecipeArgs Empty = new GetImageRecipeArgs();

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

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

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

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

    private GetImageRecipeArgs() {}

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

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

    public static final class Builder {
        private GetImageRecipeArgs $;

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

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

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

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

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy