com.pulumi.alicloud.simpleapplicationserver.outputs.GetImagesImage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud resources.
// *** 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.simpleapplicationserver.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetImagesImage {
/**
* @return The description of the image.
*
*/
private String description;
/**
* @return The ID of the Instance Image.
*
*/
private String id;
/**
* @return The ID of the image.
*
*/
private String imageId;
/**
* @return The name of the resource.
*
*/
private String imageName;
/**
* @return The type of the image. Valid values: `app`, `custom`, `system`.
*
*/
private String imageType;
/**
* @return The platform of Plan supported.
*
*/
private String platform;
private GetImagesImage() {}
/**
* @return The description of the image.
*
*/
public String description() {
return this.description;
}
/**
* @return The ID of the Instance Image.
*
*/
public String id() {
return this.id;
}
/**
* @return The ID of the image.
*
*/
public String imageId() {
return this.imageId;
}
/**
* @return The name of the resource.
*
*/
public String imageName() {
return this.imageName;
}
/**
* @return The type of the image. Valid values: `app`, `custom`, `system`.
*
*/
public String imageType() {
return this.imageType;
}
/**
* @return The platform of Plan supported.
*
*/
public String platform() {
return this.platform;
}
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 description;
private String id;
private String imageId;
private String imageName;
private String imageType;
private String platform;
public Builder() {}
public Builder(GetImagesImage defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.id = defaults.id;
this.imageId = defaults.imageId;
this.imageName = defaults.imageName;
this.imageType = defaults.imageType;
this.platform = defaults.platform;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetImagesImage", "description");
}
this.description = description;
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 platform(String platform) {
if (platform == null) {
throw new MissingRequiredPropertyException("GetImagesImage", "platform");
}
this.platform = platform;
return this;
}
public GetImagesImage build() {
final var _resultValue = new GetImagesImage();
_resultValue.description = description;
_resultValue.id = id;
_resultValue.imageId = imageId;
_resultValue.imageName = imageName;
_resultValue.imageType = imageType;
_resultValue.platform = platform;
return _resultValue;
}
}
}