
com.pulumi.azurenative.compute.outputs.GalleryDiskImageSourceResponse 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.azurenative.compute.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GalleryDiskImageSourceResponse {
/**
* @return The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.
*
*/
private @Nullable String id;
/**
* @return The Storage Account Id that contains the vhd blob being used as a source for this artifact version.
*
*/
private @Nullable String storageAccountId;
/**
* @return The uri of the gallery artifact version source. Currently used to specify vhd/blob source.
*
*/
private @Nullable String uri;
private GalleryDiskImageSourceResponse() {}
/**
* @return The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return The Storage Account Id that contains the vhd blob being used as a source for this artifact version.
*
*/
public Optional storageAccountId() {
return Optional.ofNullable(this.storageAccountId);
}
/**
* @return The uri of the gallery artifact version source. Currently used to specify vhd/blob source.
*
*/
public Optional uri() {
return Optional.ofNullable(this.uri);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GalleryDiskImageSourceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String id;
private @Nullable String storageAccountId;
private @Nullable String uri;
public Builder() {}
public Builder(GalleryDiskImageSourceResponse defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.storageAccountId = defaults.storageAccountId;
this.uri = defaults.uri;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder storageAccountId(@Nullable String storageAccountId) {
this.storageAccountId = storageAccountId;
return this;
}
@CustomType.Setter
public Builder uri(@Nullable String uri) {
this.uri = uri;
return this;
}
public GalleryDiskImageSourceResponse build() {
final var _resultValue = new GalleryDiskImageSourceResponse();
_resultValue.id = id;
_resultValue.storageAccountId = storageAccountId;
_resultValue.uri = uri;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy