
com.pulumi.azurenative.blueprint.outputs.GetPublishedBlueprintResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.BlueprintStatusResponse;
import com.pulumi.azurenative.blueprint.outputs.ParameterDefinitionResponse;
import com.pulumi.azurenative.blueprint.outputs.ResourceGroupDefinitionResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetPublishedBlueprintResult {
/**
* @return Name of the published blueprint definition.
*
*/
private @Nullable String blueprintName;
/**
* @return Version-specific change notes.
*
*/
private @Nullable String changeNotes;
/**
* @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 Name of this resource.
*
*/
private String name;
/**
* @return Parameters required by this blueprint definition.
*
*/
private @Nullable Map parameters;
/**
* @return Resource group placeholders defined by this blueprint definition.
*
*/
private @Nullable Map resourceGroups;
/**
* @return Status of the blueprint. This field is readonly.
*
*/
private BlueprintStatusResponse status;
/**
* @return The scope where this blueprint definition can be assigned.
*
*/
private @Nullable String targetScope;
/**
* @return Type of this resource.
*
*/
private String type;
private GetPublishedBlueprintResult() {}
/**
* @return Name of the published blueprint definition.
*
*/
public Optional blueprintName() {
return Optional.ofNullable(this.blueprintName);
}
/**
* @return Version-specific change notes.
*
*/
public Optional changeNotes() {
return Optional.ofNullable(this.changeNotes);
}
/**
* @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 Name of this resource.
*
*/
public String name() {
return this.name;
}
/**
* @return Parameters required by this blueprint definition.
*
*/
public Map parameters() {
return this.parameters == null ? Map.of() : this.parameters;
}
/**
* @return Resource group placeholders defined by this blueprint definition.
*
*/
public Map resourceGroups() {
return this.resourceGroups == null ? Map.of() : this.resourceGroups;
}
/**
* @return Status of the blueprint. This field is readonly.
*
*/
public BlueprintStatusResponse status() {
return this.status;
}
/**
* @return The scope where this blueprint definition can be assigned.
*
*/
public Optional targetScope() {
return Optional.ofNullable(this.targetScope);
}
/**
* @return Type of this resource.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPublishedBlueprintResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String blueprintName;
private @Nullable String changeNotes;
private @Nullable String description;
private @Nullable String displayName;
private String id;
private String name;
private @Nullable Map parameters;
private @Nullable Map resourceGroups;
private BlueprintStatusResponse status;
private @Nullable String targetScope;
private String type;
public Builder() {}
public Builder(GetPublishedBlueprintResult defaults) {
Objects.requireNonNull(defaults);
this.blueprintName = defaults.blueprintName;
this.changeNotes = defaults.changeNotes;
this.description = defaults.description;
this.displayName = defaults.displayName;
this.id = defaults.id;
this.name = defaults.name;
this.parameters = defaults.parameters;
this.resourceGroups = defaults.resourceGroups;
this.status = defaults.status;
this.targetScope = defaults.targetScope;
this.type = defaults.type;
}
@CustomType.Setter
public Builder blueprintName(@Nullable String blueprintName) {
this.blueprintName = blueprintName;
return this;
}
@CustomType.Setter
public Builder changeNotes(@Nullable String changeNotes) {
this.changeNotes = changeNotes;
return this;
}
@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("GetPublishedBlueprintResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetPublishedBlueprintResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder parameters(@Nullable Map parameters) {
this.parameters = parameters;
return this;
}
@CustomType.Setter
public Builder resourceGroups(@Nullable Map resourceGroups) {
this.resourceGroups = resourceGroups;
return this;
}
@CustomType.Setter
public Builder status(BlueprintStatusResponse status) {
if (status == null) {
throw new MissingRequiredPropertyException("GetPublishedBlueprintResult", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder targetScope(@Nullable String targetScope) {
this.targetScope = targetScope;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetPublishedBlueprintResult", "type");
}
this.type = type;
return this;
}
public GetPublishedBlueprintResult build() {
final var _resultValue = new GetPublishedBlueprintResult();
_resultValue.blueprintName = blueprintName;
_resultValue.changeNotes = changeNotes;
_resultValue.description = description;
_resultValue.displayName = displayName;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.parameters = parameters;
_resultValue.resourceGroups = resourceGroups;
_resultValue.status = status;
_resultValue.targetScope = targetScope;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy