com.pulumi.azure.batch.outputs.GetPoolStorageImageReference Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.batch.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetPoolStorageImageReference {
/**
* @return The fully qualified ID of the certificate installed on the pool.
*
*/
private String id;
private String offer;
/**
* @return The name of the extension handler publisher.The name of the extension handler publisher.
*
*/
private String publisher;
private String sku;
private String version;
private GetPoolStorageImageReference() {}
/**
* @return The fully qualified ID of the certificate installed on the pool.
*
*/
public String id() {
return this.id;
}
public String offer() {
return this.offer;
}
/**
* @return The name of the extension handler publisher.The name of the extension handler publisher.
*
*/
public String publisher() {
return this.publisher;
}
public String sku() {
return this.sku;
}
public String version() {
return this.version;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPoolStorageImageReference defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private String offer;
private String publisher;
private String sku;
private String version;
public Builder() {}
public Builder(GetPoolStorageImageReference defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.offer = defaults.offer;
this.publisher = defaults.publisher;
this.sku = defaults.sku;
this.version = defaults.version;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetPoolStorageImageReference", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder offer(String offer) {
if (offer == null) {
throw new MissingRequiredPropertyException("GetPoolStorageImageReference", "offer");
}
this.offer = offer;
return this;
}
@CustomType.Setter
public Builder publisher(String publisher) {
if (publisher == null) {
throw new MissingRequiredPropertyException("GetPoolStorageImageReference", "publisher");
}
this.publisher = publisher;
return this;
}
@CustomType.Setter
public Builder sku(String sku) {
if (sku == null) {
throw new MissingRequiredPropertyException("GetPoolStorageImageReference", "sku");
}
this.sku = sku;
return this;
}
@CustomType.Setter
public Builder version(String version) {
if (version == null) {
throw new MissingRequiredPropertyException("GetPoolStorageImageReference", "version");
}
this.version = version;
return this;
}
public GetPoolStorageImageReference build() {
final var _resultValue = new GetPoolStorageImageReference();
_resultValue.id = id;
_resultValue.offer = offer;
_resultValue.publisher = publisher;
_resultValue.sku = sku;
_resultValue.version = version;
return _resultValue;
}
}
}