
com.pulumi.azurenative.azurestackhci.outputs.GalleryImageIdentifierResponse 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.azurestackhci.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GalleryImageIdentifierResponse {
/**
* @return The name of the gallery image definition offer.
*
*/
private String offer;
/**
* @return The name of the gallery image definition publisher.
*
*/
private String publisher;
/**
* @return The name of the gallery image definition SKU.
*
*/
private String sku;
private GalleryImageIdentifierResponse() {}
/**
* @return The name of the gallery image definition offer.
*
*/
public String offer() {
return this.offer;
}
/**
* @return The name of the gallery image definition publisher.
*
*/
public String publisher() {
return this.publisher;
}
/**
* @return The name of the gallery image definition SKU.
*
*/
public String sku() {
return this.sku;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GalleryImageIdentifierResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String offer;
private String publisher;
private String sku;
public Builder() {}
public Builder(GalleryImageIdentifierResponse defaults) {
Objects.requireNonNull(defaults);
this.offer = defaults.offer;
this.publisher = defaults.publisher;
this.sku = defaults.sku;
}
@CustomType.Setter
public Builder offer(String offer) {
if (offer == null) {
throw new MissingRequiredPropertyException("GalleryImageIdentifierResponse", "offer");
}
this.offer = offer;
return this;
}
@CustomType.Setter
public Builder publisher(String publisher) {
if (publisher == null) {
throw new MissingRequiredPropertyException("GalleryImageIdentifierResponse", "publisher");
}
this.publisher = publisher;
return this;
}
@CustomType.Setter
public Builder sku(String sku) {
if (sku == null) {
throw new MissingRequiredPropertyException("GalleryImageIdentifierResponse", "sku");
}
this.sku = sku;
return this;
}
public GalleryImageIdentifierResponse build() {
final var _resultValue = new GalleryImageIdentifierResponse();
_resultValue.offer = offer;
_resultValue.publisher = publisher;
_resultValue.sku = sku;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy