
com.pulumi.azurenative.compute.outputs.GalleryArtifactVersionFullSourceResponse 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 GalleryArtifactVersionFullSourceResponse {
/**
* @return The resource Id of the source Community Gallery Image. Only required when using Community Gallery Image as a source.
*
*/
private @Nullable String communityGalleryImageId;
/**
* @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;
private GalleryArtifactVersionFullSourceResponse() {}
/**
* @return The resource Id of the source Community Gallery Image. Only required when using Community Gallery Image as a source.
*
*/
public Optional communityGalleryImageId() {
return Optional.ofNullable(this.communityGalleryImageId);
}
/**
* @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);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GalleryArtifactVersionFullSourceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String communityGalleryImageId;
private @Nullable String id;
public Builder() {}
public Builder(GalleryArtifactVersionFullSourceResponse defaults) {
Objects.requireNonNull(defaults);
this.communityGalleryImageId = defaults.communityGalleryImageId;
this.id = defaults.id;
}
@CustomType.Setter
public Builder communityGalleryImageId(@Nullable String communityGalleryImageId) {
this.communityGalleryImageId = communityGalleryImageId;
return this;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
public GalleryArtifactVersionFullSourceResponse build() {
final var _resultValue = new GalleryArtifactVersionFullSourceResponse();
_resultValue.communityGalleryImageId = communityGalleryImageId;
_resultValue.id = id;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy