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

com.pulumi.aws.imagebuilder.inputs.ImageOutputResourceAmiArgs 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.imagebuilder.inputs;

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


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

    public static final ImageOutputResourceAmiArgs Empty = new ImageOutputResourceAmiArgs();

    /**
     * Account identifier of the AMI.
     * 
     */
    @Import(name="accountId")
    private @Nullable Output accountId;

    /**
     * @return Account identifier of the AMI.
     * 
     */
    public Optional> accountId() {
        return Optional.ofNullable(this.accountId);
    }

    /**
     * Description of the AMI.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Description of the AMI.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Identifier of the AMI.
     * 
     */
    @Import(name="image")
    private @Nullable Output image;

    /**
     * @return Identifier of the AMI.
     * 
     */
    public Optional> image() {
        return Optional.ofNullable(this.image);
    }

    /**
     * Name of the AMI.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the AMI.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Region of the container image.
     * 
     */
    @Import(name="region")
    private @Nullable Output region;

    /**
     * @return Region of the container image.
     * 
     */
    public Optional> region() {
        return Optional.ofNullable(this.region);
    }

    private ImageOutputResourceAmiArgs() {}

    private ImageOutputResourceAmiArgs(ImageOutputResourceAmiArgs $) {
        this.accountId = $.accountId;
        this.description = $.description;
        this.image = $.image;
        this.name = $.name;
        this.region = $.region;
    }

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

    public static final class Builder {
        private ImageOutputResourceAmiArgs $;

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

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

        /**
         * @param accountId Account identifier of the AMI.
         * 
         * @return builder
         * 
         */
        public Builder accountId(@Nullable Output accountId) {
            $.accountId = accountId;
            return this;
        }

        /**
         * @param accountId Account identifier of the AMI.
         * 
         * @return builder
         * 
         */
        public Builder accountId(String accountId) {
            return accountId(Output.of(accountId));
        }

        /**
         * @param description Description of the AMI.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Description of the AMI.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param image Identifier of the AMI.
         * 
         * @return builder
         * 
         */
        public Builder image(@Nullable Output image) {
            $.image = image;
            return this;
        }

        /**
         * @param image Identifier of the AMI.
         * 
         * @return builder
         * 
         */
        public Builder image(String image) {
            return image(Output.of(image));
        }

        /**
         * @param name Name of the AMI.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the AMI.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param region Region of the container image.
         * 
         * @return builder
         * 
         */
        public Builder region(@Nullable Output region) {
            $.region = region;
            return this;
        }

        /**
         * @param region Region of the container image.
         * 
         * @return builder
         * 
         */
        public Builder region(String region) {
            return region(Output.of(region));
        }

        public ImageOutputResourceAmiArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy