
com.pulumi.azurenative.testbase.outputs.GalleryAppDefinitionResponse 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.testbase.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GalleryAppDefinitionResponse {
/**
* @return Whether the disclaimer of the gallery application is accepted.
*
*/
private @Nullable Boolean isConsented;
/**
* @return The SKU id of the gallery application.
*
*/
private String skuId;
private GalleryAppDefinitionResponse() {}
/**
* @return Whether the disclaimer of the gallery application is accepted.
*
*/
public Optional isConsented() {
return Optional.ofNullable(this.isConsented);
}
/**
* @return The SKU id of the gallery application.
*
*/
public String skuId() {
return this.skuId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GalleryAppDefinitionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean isConsented;
private String skuId;
public Builder() {}
public Builder(GalleryAppDefinitionResponse defaults) {
Objects.requireNonNull(defaults);
this.isConsented = defaults.isConsented;
this.skuId = defaults.skuId;
}
@CustomType.Setter
public Builder isConsented(@Nullable Boolean isConsented) {
this.isConsented = isConsented;
return this;
}
@CustomType.Setter
public Builder skuId(String skuId) {
if (skuId == null) {
throw new MissingRequiredPropertyException("GalleryAppDefinitionResponse", "skuId");
}
this.skuId = skuId;
return this;
}
public GalleryAppDefinitionResponse build() {
final var _resultValue = new GalleryAppDefinitionResponse();
_resultValue.isConsented = isConsented;
_resultValue.skuId = skuId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy