com.pulumi.azurenative.azuresphere.outputs.ImageResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.azuresphere.outputs;
import com.pulumi.azurenative.azuresphere.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ImageResponse {
/**
* @return The image component id.
*
*/
private String componentId;
/**
* @return The image description.
*
*/
private String description;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads.
*
*/
private @Nullable String image;
/**
* @return Image ID
*
*/
private @Nullable String imageId;
/**
* @return Image name
*
*/
private String imageName;
/**
* @return The image type.
*
*/
private String imageType;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return The status of the last operation.
*
*/
private String provisioningState;
/**
* @return Regional data boundary for an image
*
*/
private @Nullable String regionalDataBoundary;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
/**
* @return Location the image
*
*/
private String uri;
private ImageResponse() {}
/**
* @return The image component id.
*
*/
public String componentId() {
return this.componentId;
}
/**
* @return The image description.
*
*/
public String description() {
return this.description;
}
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
public String id() {
return this.id;
}
/**
* @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);
}
/**
* @return Image ID
*
*/
public Optional imageId() {
return Optional.ofNullable(this.imageId);
}
/**
* @return Image name
*
*/
public String imageName() {
return this.imageName;
}
/**
* @return The image type.
*
*/
public String imageType() {
return this.imageType;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return The status of the last operation.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Regional data boundary for an image
*
*/
public Optional regionalDataBoundary() {
return Optional.ofNullable(this.regionalDataBoundary);
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
/**
* @return Location the image
*
*/
public String uri() {
return this.uri;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ImageResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String componentId;
private String description;
private String id;
private @Nullable String image;
private @Nullable String imageId;
private String imageName;
private String imageType;
private String name;
private String provisioningState;
private @Nullable String regionalDataBoundary;
private SystemDataResponse systemData;
private String type;
private String uri;
public Builder() {}
public Builder(ImageResponse defaults) {
Objects.requireNonNull(defaults);
this.componentId = defaults.componentId;
this.description = defaults.description;
this.id = defaults.id;
this.image = defaults.image;
this.imageId = defaults.imageId;
this.imageName = defaults.imageName;
this.imageType = defaults.imageType;
this.name = defaults.name;
this.provisioningState = defaults.provisioningState;
this.regionalDataBoundary = defaults.regionalDataBoundary;
this.systemData = defaults.systemData;
this.type = defaults.type;
this.uri = defaults.uri;
}
@CustomType.Setter
public Builder componentId(String componentId) {
if (componentId == null) {
throw new MissingRequiredPropertyException("ImageResponse", "componentId");
}
this.componentId = componentId;
return this;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("ImageResponse", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("ImageResponse", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder image(@Nullable String image) {
this.image = image;
return this;
}
@CustomType.Setter
public Builder imageId(@Nullable String imageId) {
this.imageId = imageId;
return this;
}
@CustomType.Setter
public Builder imageName(String imageName) {
if (imageName == null) {
throw new MissingRequiredPropertyException("ImageResponse", "imageName");
}
this.imageName = imageName;
return this;
}
@CustomType.Setter
public Builder imageType(String imageType) {
if (imageType == null) {
throw new MissingRequiredPropertyException("ImageResponse", "imageType");
}
this.imageType = imageType;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("ImageResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("ImageResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder regionalDataBoundary(@Nullable String regionalDataBoundary) {
this.regionalDataBoundary = regionalDataBoundary;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("ImageResponse", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("ImageResponse", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder uri(String uri) {
if (uri == null) {
throw new MissingRequiredPropertyException("ImageResponse", "uri");
}
this.uri = uri;
return this;
}
public ImageResponse build() {
final var _resultValue = new ImageResponse();
_resultValue.componentId = componentId;
_resultValue.description = description;
_resultValue.id = id;
_resultValue.image = image;
_resultValue.imageId = imageId;
_resultValue.imageName = imageName;
_resultValue.imageType = imageType;
_resultValue.name = name;
_resultValue.provisioningState = provisioningState;
_resultValue.regionalDataBoundary = regionalDataBoundary;
_resultValue.systemData = systemData;
_resultValue.type = type;
_resultValue.uri = uri;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy