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

com.pulumi.azurenative.azuresphere.inputs.ImageArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.azurenative.azuresphere.inputs;

import com.pulumi.azurenative.azuresphere.enums.RegionalDataBoundary;
import com.pulumi.core.Either;
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;


/**
 * An image resource belonging to a catalog resource.
 * 
 */
public final class ImageArgs extends com.pulumi.resources.ResourceArgs {

    public static final ImageArgs Empty = new ImageArgs();

    /**
     * Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads.
     * 
     */
    @Import(name="image")
    private @Nullable Output image;

    /**
     * @return Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads.
     * 
     */
    public Optional> image() {
        return Optional.ofNullable(this.image);
    }

    /**
     * Image ID
     * 
     */
    @Import(name="imageId")
    private @Nullable Output imageId;

    /**
     * @return Image ID
     * 
     */
    public Optional> imageId() {
        return Optional.ofNullable(this.imageId);
    }

    /**
     * Regional data boundary for an image
     * 
     */
    @Import(name="regionalDataBoundary")
    private @Nullable Output> regionalDataBoundary;

    /**
     * @return Regional data boundary for an image
     * 
     */
    public Optional>> regionalDataBoundary() {
        return Optional.ofNullable(this.regionalDataBoundary);
    }

    private ImageArgs() {}

    private ImageArgs(ImageArgs $) {
        this.image = $.image;
        this.imageId = $.imageId;
        this.regionalDataBoundary = $.regionalDataBoundary;
    }

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

    public static final class Builder {
        private ImageArgs $;

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

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

        /**
         * @param image Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads.
         * 
         * @return builder
         * 
         */
        public Builder image(@Nullable Output image) {
            $.image = image;
            return this;
        }

        /**
         * @param image Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads.
         * 
         * @return builder
         * 
         */
        public Builder image(String image) {
            return image(Output.of(image));
        }

        /**
         * @param imageId Image ID
         * 
         * @return builder
         * 
         */
        public Builder imageId(@Nullable Output imageId) {
            $.imageId = imageId;
            return this;
        }

        /**
         * @param imageId Image ID
         * 
         * @return builder
         * 
         */
        public Builder imageId(String imageId) {
            return imageId(Output.of(imageId));
        }

        /**
         * @param regionalDataBoundary Regional data boundary for an image
         * 
         * @return builder
         * 
         */
        public Builder regionalDataBoundary(@Nullable Output> regionalDataBoundary) {
            $.regionalDataBoundary = regionalDataBoundary;
            return this;
        }

        /**
         * @param regionalDataBoundary Regional data boundary for an image
         * 
         * @return builder
         * 
         */
        public Builder regionalDataBoundary(Either regionalDataBoundary) {
            return regionalDataBoundary(Output.of(regionalDataBoundary));
        }

        /**
         * @param regionalDataBoundary Regional data boundary for an image
         * 
         * @return builder
         * 
         */
        public Builder regionalDataBoundary(String regionalDataBoundary) {
            return regionalDataBoundary(Either.ofLeft(regionalDataBoundary));
        }

        /**
         * @param regionalDataBoundary Regional data boundary for an image
         * 
         * @return builder
         * 
         */
        public Builder regionalDataBoundary(RegionalDataBoundary regionalDataBoundary) {
            return regionalDataBoundary(Either.ofRight(regionalDataBoundary));
        }

        public ImageArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy