com.pulumi.azurenative.blueprint.outputs.GetAssignmentResult 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.AssignmentLockSettingsResponse;
import com.pulumi.azurenative.blueprint.outputs.AssignmentStatusResponse;
import com.pulumi.azurenative.blueprint.outputs.ManagedServiceIdentityResponse;
import com.pulumi.azurenative.blueprint.outputs.ParameterValueResponse;
import com.pulumi.azurenative.blueprint.outputs.ResourceGroupValueResponse;
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 GetAssignmentResult {
/**
* @return ID of the published version of a blueprint definition.
*
*/
private @Nullable String blueprintId;
/**
* @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 Managed identity for this blueprint assignment.
*
*/
private ManagedServiceIdentityResponse identity;
/**
* @return The location of this blueprint assignment.
*
*/
private String location;
/**
* @return Defines how resources deployed by a blueprint assignment are locked.
*
*/
private @Nullable AssignmentLockSettingsResponse locks;
/**
* @return Name of this resource.
*
*/
private String name;
/**
* @return Blueprint assignment parameter values.
*
*/
private Map parameters;
/**
* @return State of the blueprint assignment.
*
*/
private String provisioningState;
/**
* @return Names and locations of resource group placeholders.
*
*/
private Map resourceGroups;
/**
* @return The target subscription scope of the blueprint assignment (format: '/subscriptions/{subscriptionId}'). For management group level assignments, the property is required.
*
*/
private @Nullable String scope;
/**
* @return Status of blueprint assignment. This field is readonly.
*
*/
private AssignmentStatusResponse status;
/**
* @return Type of this resource.
*
*/
private String type;
private GetAssignmentResult() {}
/**
* @return ID of the published version of a blueprint definition.
*
*/
public Optional blueprintId() {
return Optional.ofNullable(this.blueprintId);
}
/**
* @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 Managed identity for this blueprint assignment.
*
*/
public ManagedServiceIdentityResponse identity() {
return this.identity;
}
/**
* @return The location of this blueprint assignment.
*
*/
public String location() {
return this.location;
}
/**
* @return Defines how resources deployed by a blueprint assignment are locked.
*
*/
public Optional locks() {
return Optional.ofNullable(this.locks);
}
/**
* @return Name of this resource.
*
*/
public String name() {
return this.name;
}
/**
* @return Blueprint assignment parameter values.
*
*/
public Map parameters() {
return this.parameters;
}
/**
* @return State of the blueprint assignment.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Names and locations of resource group placeholders.
*
*/
public Map resourceGroups() {
return this.resourceGroups;
}
/**
* @return The target subscription scope of the blueprint assignment (format: '/subscriptions/{subscriptionId}'). For management group level assignments, the property is required.
*
*/
public Optional scope() {
return Optional.ofNullable(this.scope);
}
/**
* @return Status of blueprint assignment. This field is readonly.
*
*/
public AssignmentStatusResponse status() {
return this.status;
}
/**
* @return Type of this resource.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAssignmentResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String blueprintId;
private @Nullable String description;
private @Nullable String displayName;
private String id;
private ManagedServiceIdentityResponse identity;
private String location;
private @Nullable AssignmentLockSettingsResponse locks;
private String name;
private Map parameters;
private String provisioningState;
private Map resourceGroups;
private @Nullable String scope;
private AssignmentStatusResponse status;
private String type;
public Builder() {}
public Builder(GetAssignmentResult defaults) {
Objects.requireNonNull(defaults);
this.blueprintId = defaults.blueprintId;
this.description = defaults.description;
this.displayName = defaults.displayName;
this.id = defaults.id;
this.identity = defaults.identity;
this.location = defaults.location;
this.locks = defaults.locks;
this.name = defaults.name;
this.parameters = defaults.parameters;
this.provisioningState = defaults.provisioningState;
this.resourceGroups = defaults.resourceGroups;
this.scope = defaults.scope;
this.status = defaults.status;
this.type = defaults.type;
}
@CustomType.Setter
public Builder blueprintId(@Nullable String blueprintId) {
this.blueprintId = blueprintId;
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("GetAssignmentResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identity(ManagedServiceIdentityResponse identity) {
if (identity == null) {
throw new MissingRequiredPropertyException("GetAssignmentResult", "identity");
}
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetAssignmentResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder locks(@Nullable AssignmentLockSettingsResponse locks) {
this.locks = locks;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetAssignmentResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder parameters(Map parameters) {
if (parameters == null) {
throw new MissingRequiredPropertyException("GetAssignmentResult", "parameters");
}
this.parameters = parameters;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetAssignmentResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder resourceGroups(Map resourceGroups) {
if (resourceGroups == null) {
throw new MissingRequiredPropertyException("GetAssignmentResult", "resourceGroups");
}
this.resourceGroups = resourceGroups;
return this;
}
@CustomType.Setter
public Builder scope(@Nullable String scope) {
this.scope = scope;
return this;
}
@CustomType.Setter
public Builder status(AssignmentStatusResponse status) {
if (status == null) {
throw new MissingRequiredPropertyException("GetAssignmentResult", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetAssignmentResult", "type");
}
this.type = type;
return this;
}
public GetAssignmentResult build() {
final var _resultValue = new GetAssignmentResult();
_resultValue.blueprintId = blueprintId;
_resultValue.description = description;
_resultValue.displayName = displayName;
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.location = location;
_resultValue.locks = locks;
_resultValue.name = name;
_resultValue.parameters = parameters;
_resultValue.provisioningState = provisioningState;
_resultValue.resourceGroups = resourceGroups;
_resultValue.scope = scope;
_resultValue.status = status;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy