com.pulumi.azure.compute.outputs.LinuxVirtualMachineScaleSetGalleryApplication 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.azure.compute.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class LinuxVirtualMachineScaleSetGalleryApplication {
/**
* @return Specifies the URI to an Azure Blob that will replace the default configuration for the package if provided. Changing this forces a new resource to be created.
*
*/
private @Nullable String configurationBlobUri;
/**
* @return Specifies the order in which the packages have to be installed. Possible values are between `0` and `2147483647`. Defaults to `0`. Changing this forces a new resource to be created.
*
*/
private @Nullable Integer order;
/**
* @return Specifies a passthrough value for more generic context. This field can be any valid `string` value. Changing this forces a new resource to be created.
*
*/
private @Nullable String tag;
/**
* @return Specifies the Gallery Application Version resource ID. Changing this forces a new resource to be created.
*
*/
private String versionId;
private LinuxVirtualMachineScaleSetGalleryApplication() {}
/**
* @return Specifies the URI to an Azure Blob that will replace the default configuration for the package if provided. Changing this forces a new resource to be created.
*
*/
public Optional configurationBlobUri() {
return Optional.ofNullable(this.configurationBlobUri);
}
/**
* @return Specifies the order in which the packages have to be installed. Possible values are between `0` and `2147483647`. Defaults to `0`. Changing this forces a new resource to be created.
*
*/
public Optional order() {
return Optional.ofNullable(this.order);
}
/**
* @return Specifies a passthrough value for more generic context. This field can be any valid `string` value. Changing this forces a new resource to be created.
*
*/
public Optional tag() {
return Optional.ofNullable(this.tag);
}
/**
* @return Specifies the Gallery Application Version resource ID. Changing this forces a new resource to be created.
*
*/
public String versionId() {
return this.versionId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LinuxVirtualMachineScaleSetGalleryApplication defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String configurationBlobUri;
private @Nullable Integer order;
private @Nullable String tag;
private String versionId;
public Builder() {}
public Builder(LinuxVirtualMachineScaleSetGalleryApplication defaults) {
Objects.requireNonNull(defaults);
this.configurationBlobUri = defaults.configurationBlobUri;
this.order = defaults.order;
this.tag = defaults.tag;
this.versionId = defaults.versionId;
}
@CustomType.Setter
public Builder configurationBlobUri(@Nullable String configurationBlobUri) {
this.configurationBlobUri = configurationBlobUri;
return this;
}
@CustomType.Setter
public Builder order(@Nullable Integer order) {
this.order = order;
return this;
}
@CustomType.Setter
public Builder tag(@Nullable String tag) {
this.tag = tag;
return this;
}
@CustomType.Setter
public Builder versionId(String versionId) {
if (versionId == null) {
throw new MissingRequiredPropertyException("LinuxVirtualMachineScaleSetGalleryApplication", "versionId");
}
this.versionId = versionId;
return this;
}
public LinuxVirtualMachineScaleSetGalleryApplication build() {
final var _resultValue = new LinuxVirtualMachineScaleSetGalleryApplication();
_resultValue.configurationBlobUri = configurationBlobUri;
_resultValue.order = order;
_resultValue.tag = tag;
_resultValue.versionId = versionId;
return _resultValue;
}
}
}