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

com.pulumi.alicloud.eds.outputs.GetImagesImage Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.eds.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetImagesImage {
    /**
     * @return The creation time of the image.
     * 
     */
    private String createTime;
    /**
     * @return The size of data disk of the image.
     * 
     */
    private Integer dataDiskSize;
    /**
     * @return The description of the image.
     * 
     */
    private String description;
    /**
     * @return The Gpu Category of the image.
     * 
     */
    private Boolean gpuCategory;
    /**
     * @return The ID of the Image.
     * 
     */
    private String id;
    /**
     * @return The image id of the image.
     * 
     */
    private String imageId;
    /**
     * @return The image name.
     * 
     */
    private String imageName;
    /**
     * @return The image type of the image. Valid values: `SYSTEM`, `CUSTOM`.
     * 
     */
    private String imageType;
    /**
     * @return The os type of the image.
     * 
     */
    private String osType;
    /**
     * @return The progress of the image.
     * 
     */
    private String progress;
    /**
     * @return The size of the image.
     * 
     */
    private Integer size;
    /**
     * @return The status of the image. Valid values: `Creating`, `Available`, `CreateFailed`.
     * 
     */
    private String status;

    private GetImagesImage() {}
    /**
     * @return The creation time of the image.
     * 
     */
    public String createTime() {
        return this.createTime;
    }
    /**
     * @return The size of data disk of the image.
     * 
     */
    public Integer dataDiskSize() {
        return this.dataDiskSize;
    }
    /**
     * @return The description of the image.
     * 
     */
    public String description() {
        return this.description;
    }
    /**
     * @return The Gpu Category of the image.
     * 
     */
    public Boolean gpuCategory() {
        return this.gpuCategory;
    }
    /**
     * @return The ID of the Image.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The image id of the image.
     * 
     */
    public String imageId() {
        return this.imageId;
    }
    /**
     * @return The image name.
     * 
     */
    public String imageName() {
        return this.imageName;
    }
    /**
     * @return The image type of the image. Valid values: `SYSTEM`, `CUSTOM`.
     * 
     */
    public String imageType() {
        return this.imageType;
    }
    /**
     * @return The os type of the image.
     * 
     */
    public String osType() {
        return this.osType;
    }
    /**
     * @return The progress of the image.
     * 
     */
    public String progress() {
        return this.progress;
    }
    /**
     * @return The size of the image.
     * 
     */
    public Integer size() {
        return this.size;
    }
    /**
     * @return The status of the image. Valid values: `Creating`, `Available`, `CreateFailed`.
     * 
     */
    public String status() {
        return this.status;
    }

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

    public static Builder builder(GetImagesImage defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String createTime;
        private Integer dataDiskSize;
        private String description;
        private Boolean gpuCategory;
        private String id;
        private String imageId;
        private String imageName;
        private String imageType;
        private String osType;
        private String progress;
        private Integer size;
        private String status;
        public Builder() {}
        public Builder(GetImagesImage defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.createTime = defaults.createTime;
    	      this.dataDiskSize = defaults.dataDiskSize;
    	      this.description = defaults.description;
    	      this.gpuCategory = defaults.gpuCategory;
    	      this.id = defaults.id;
    	      this.imageId = defaults.imageId;
    	      this.imageName = defaults.imageName;
    	      this.imageType = defaults.imageType;
    	      this.osType = defaults.osType;
    	      this.progress = defaults.progress;
    	      this.size = defaults.size;
    	      this.status = defaults.status;
        }

        @CustomType.Setter
        public Builder createTime(String createTime) {
            if (createTime == null) {
              throw new MissingRequiredPropertyException("GetImagesImage", "createTime");
            }
            this.createTime = createTime;
            return this;
        }
        @CustomType.Setter
        public Builder dataDiskSize(Integer dataDiskSize) {
            if (dataDiskSize == null) {
              throw new MissingRequiredPropertyException("GetImagesImage", "dataDiskSize");
            }
            this.dataDiskSize = dataDiskSize;
            return this;
        }
        @CustomType.Setter
        public Builder description(String description) {
            if (description == null) {
              throw new MissingRequiredPropertyException("GetImagesImage", "description");
            }
            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder gpuCategory(Boolean gpuCategory) {
            if (gpuCategory == null) {
              throw new MissingRequiredPropertyException("GetImagesImage", "gpuCategory");
            }
            this.gpuCategory = gpuCategory;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetImagesImage", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder imageId(String imageId) {
            if (imageId == null) {
              throw new MissingRequiredPropertyException("GetImagesImage", "imageId");
            }
            this.imageId = imageId;
            return this;
        }
        @CustomType.Setter
        public Builder imageName(String imageName) {
            if (imageName == null) {
              throw new MissingRequiredPropertyException("GetImagesImage", "imageName");
            }
            this.imageName = imageName;
            return this;
        }
        @CustomType.Setter
        public Builder imageType(String imageType) {
            if (imageType == null) {
              throw new MissingRequiredPropertyException("GetImagesImage", "imageType");
            }
            this.imageType = imageType;
            return this;
        }
        @CustomType.Setter
        public Builder osType(String osType) {
            if (osType == null) {
              throw new MissingRequiredPropertyException("GetImagesImage", "osType");
            }
            this.osType = osType;
            return this;
        }
        @CustomType.Setter
        public Builder progress(String progress) {
            if (progress == null) {
              throw new MissingRequiredPropertyException("GetImagesImage", "progress");
            }
            this.progress = progress;
            return this;
        }
        @CustomType.Setter
        public Builder size(Integer size) {
            if (size == null) {
              throw new MissingRequiredPropertyException("GetImagesImage", "size");
            }
            this.size = size;
            return this;
        }
        @CustomType.Setter
        public Builder status(String status) {
            if (status == null) {
              throw new MissingRequiredPropertyException("GetImagesImage", "status");
            }
            this.status = status;
            return this;
        }
        public GetImagesImage build() {
            final var _resultValue = new GetImagesImage();
            _resultValue.createTime = createTime;
            _resultValue.dataDiskSize = dataDiskSize;
            _resultValue.description = description;
            _resultValue.gpuCategory = gpuCategory;
            _resultValue.id = id;
            _resultValue.imageId = imageId;
            _resultValue.imageName = imageName;
            _resultValue.imageType = imageType;
            _resultValue.osType = osType;
            _resultValue.progress = progress;
            _resultValue.size = size;
            _resultValue.status = status;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy