![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.compute.inputs.WindowsVirtualMachineScaleSetSourceImageReferenceArgs 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class WindowsVirtualMachineScaleSetSourceImageReferenceArgs extends com.pulumi.resources.ResourceArgs {
public static final WindowsVirtualMachineScaleSetSourceImageReferenceArgs Empty = new WindowsVirtualMachineScaleSetSourceImageReferenceArgs();
/**
* Specifies the offer of the image used to create the virtual machines. Changing this forces a new resource to be created.
*
*/
@Import(name="offer", required=true)
private Output offer;
/**
* @return Specifies the offer of the image used to create the virtual machines. Changing this forces a new resource to be created.
*
*/
public Output offer() {
return this.offer;
}
/**
* Specifies the publisher of the image used to create the virtual machines. Changing this forces a new resource to be created.
*
*/
@Import(name="publisher", required=true)
private Output publisher;
/**
* @return Specifies the publisher of the image used to create the virtual machines. Changing this forces a new resource to be created.
*
*/
public Output publisher() {
return this.publisher;
}
/**
* Specifies the SKU of the image used to create the virtual machines.
*
*/
@Import(name="sku", required=true)
private Output sku;
/**
* @return Specifies the SKU of the image used to create the virtual machines.
*
*/
public Output sku() {
return this.sku;
}
/**
* Specifies the version of the image used to create the virtual machines.
*
*/
@Import(name="version", required=true)
private Output version;
/**
* @return Specifies the version of the image used to create the virtual machines.
*
*/
public Output version() {
return this.version;
}
private WindowsVirtualMachineScaleSetSourceImageReferenceArgs() {}
private WindowsVirtualMachineScaleSetSourceImageReferenceArgs(WindowsVirtualMachineScaleSetSourceImageReferenceArgs $) {
this.offer = $.offer;
this.publisher = $.publisher;
this.sku = $.sku;
this.version = $.version;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WindowsVirtualMachineScaleSetSourceImageReferenceArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private WindowsVirtualMachineScaleSetSourceImageReferenceArgs $;
public Builder() {
$ = new WindowsVirtualMachineScaleSetSourceImageReferenceArgs();
}
public Builder(WindowsVirtualMachineScaleSetSourceImageReferenceArgs defaults) {
$ = new WindowsVirtualMachineScaleSetSourceImageReferenceArgs(Objects.requireNonNull(defaults));
}
/**
* @param offer Specifies the offer of the image used to create the virtual machines. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder offer(Output offer) {
$.offer = offer;
return this;
}
/**
* @param offer Specifies the offer of the image used to create the virtual machines. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder offer(String offer) {
return offer(Output.of(offer));
}
/**
* @param publisher Specifies the publisher of the image used to create the virtual machines. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder publisher(Output publisher) {
$.publisher = publisher;
return this;
}
/**
* @param publisher Specifies the publisher of the image used to create the virtual machines. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder publisher(String publisher) {
return publisher(Output.of(publisher));
}
/**
* @param sku Specifies the SKU of the image used to create the virtual machines.
*
* @return builder
*
*/
public Builder sku(Output sku) {
$.sku = sku;
return this;
}
/**
* @param sku Specifies the SKU of the image used to create the virtual machines.
*
* @return builder
*
*/
public Builder sku(String sku) {
return sku(Output.of(sku));
}
/**
* @param version Specifies the version of the image used to create the virtual machines.
*
* @return builder
*
*/
public Builder version(Output version) {
$.version = version;
return this;
}
/**
* @param version Specifies the version of the image used to create the virtual machines.
*
* @return builder
*
*/
public Builder version(String version) {
return version(Output.of(version));
}
public WindowsVirtualMachineScaleSetSourceImageReferenceArgs build() {
if ($.offer == null) {
throw new MissingRequiredPropertyException("WindowsVirtualMachineScaleSetSourceImageReferenceArgs", "offer");
}
if ($.publisher == null) {
throw new MissingRequiredPropertyException("WindowsVirtualMachineScaleSetSourceImageReferenceArgs", "publisher");
}
if ($.sku == null) {
throw new MissingRequiredPropertyException("WindowsVirtualMachineScaleSetSourceImageReferenceArgs", "sku");
}
if ($.version == null) {
throw new MissingRequiredPropertyException("WindowsVirtualMachineScaleSetSourceImageReferenceArgs", "version");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy