
com.pulumi.azurenative.blueprint.outputs.GetTemplateArtifactResult 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.blueprint.outputs;
import com.pulumi.azurenative.blueprint.outputs.ParameterValueResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetTemplateArtifactResult {
/**
* @return Artifacts which need to be deployed before the specified artifact.
*
*/
private @Nullable List dependsOn;
/**
* @return Multi-line explain this resource.
*
*/
private @Nullable String description;
/**
* @return One-liner string explain this resource.
*
*/
private @Nullable String displayName;
/**
* @return String Id used to locate any resource on Azure.
*
*/
private String id;
/**
* @return Specifies the kind of blueprint artifact.
* Expected value is 'template'.
*
*/
private String kind;
/**
* @return Name of this resource.
*
*/
private String name;
/**
* @return Resource Manager template blueprint artifact parameter values.
*
*/
private Map parameters;
/**
* @return If applicable, the name of the resource group placeholder to which the Resource Manager template blueprint artifact will be deployed.
*
*/
private @Nullable String resourceGroup;
/**
* @return The Resource Manager template blueprint artifact body.
*
*/
private Object template;
/**
* @return Type of this resource.
*
*/
private String type;
private GetTemplateArtifactResult() {}
/**
* @return Artifacts which need to be deployed before the specified artifact.
*
*/
public List dependsOn() {
return this.dependsOn == null ? List.of() : this.dependsOn;
}
/**
* @return Multi-line explain this resource.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return One-liner string explain this resource.
*
*/
public Optional displayName() {
return Optional.ofNullable(this.displayName);
}
/**
* @return String Id used to locate any resource on Azure.
*
*/
public String id() {
return this.id;
}
/**
* @return Specifies the kind of blueprint artifact.
* Expected value is 'template'.
*
*/
public String kind() {
return this.kind;
}
/**
* @return Name of this resource.
*
*/
public String name() {
return this.name;
}
/**
* @return Resource Manager template blueprint artifact parameter values.
*
*/
public Map parameters() {
return this.parameters;
}
/**
* @return If applicable, the name of the resource group placeholder to which the Resource Manager template blueprint artifact will be deployed.
*
*/
public Optional resourceGroup() {
return Optional.ofNullable(this.resourceGroup);
}
/**
* @return The Resource Manager template blueprint artifact body.
*
*/
public Object template() {
return this.template;
}
/**
* @return Type of this resource.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetTemplateArtifactResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List dependsOn;
private @Nullable String description;
private @Nullable String displayName;
private String id;
private String kind;
private String name;
private Map parameters;
private @Nullable String resourceGroup;
private Object template;
private String type;
public Builder() {}
public Builder(GetTemplateArtifactResult defaults) {
Objects.requireNonNull(defaults);
this.dependsOn = defaults.dependsOn;
this.description = defaults.description;
this.displayName = defaults.displayName;
this.id = defaults.id;
this.kind = defaults.kind;
this.name = defaults.name;
this.parameters = defaults.parameters;
this.resourceGroup = defaults.resourceGroup;
this.template = defaults.template;
this.type = defaults.type;
}
@CustomType.Setter
public Builder dependsOn(@Nullable List dependsOn) {
this.dependsOn = dependsOn;
return this;
}
public Builder dependsOn(String... dependsOn) {
return dependsOn(List.of(dependsOn));
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder displayName(@Nullable String displayName) {
this.displayName = displayName;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetTemplateArtifactResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder kind(String kind) {
if (kind == null) {
throw new MissingRequiredPropertyException("GetTemplateArtifactResult", "kind");
}
this.kind = kind;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetTemplateArtifactResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder parameters(Map parameters) {
if (parameters == null) {
throw new MissingRequiredPropertyException("GetTemplateArtifactResult", "parameters");
}
this.parameters = parameters;
return this;
}
@CustomType.Setter
public Builder resourceGroup(@Nullable String resourceGroup) {
this.resourceGroup = resourceGroup;
return this;
}
@CustomType.Setter
public Builder template(Object template) {
if (template == null) {
throw new MissingRequiredPropertyException("GetTemplateArtifactResult", "template");
}
this.template = template;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetTemplateArtifactResult", "type");
}
this.type = type;
return this;
}
public GetTemplateArtifactResult build() {
final var _resultValue = new GetTemplateArtifactResult();
_resultValue.dependsOn = dependsOn;
_resultValue.description = description;
_resultValue.displayName = displayName;
_resultValue.id = id;
_resultValue.kind = kind;
_resultValue.name = name;
_resultValue.parameters = parameters;
_resultValue.resourceGroup = resourceGroup;
_resultValue.template = template;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy