com.pulumi.azurenative.blueprint.outputs.ResourceGroupDefinitionResponse 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.core.annotations.CustomType;
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 ResourceGroupDefinitionResponse {
/**
* @return Artifacts which need to be deployed before this resource group.
*
*/
private @Nullable List dependsOn;
/**
* @return Description of this parameter/resourceGroup.
*
*/
private @Nullable String description;
/**
* @return DisplayName of this parameter/resourceGroup.
*
*/
private @Nullable String displayName;
/**
* @return Location of this resourceGroup. Leave empty if the resource group location will be specified during the blueprint assignment.
*
*/
private @Nullable String location;
/**
* @return Name of this resourceGroup. Leave empty if the resource group name will be specified during the blueprint assignment.
*
*/
private @Nullable String name;
/**
* @return StrongType for UI to render rich experience during blueprint assignment. Supported strong types are resourceType, principalId and location.
*
*/
private @Nullable String strongType;
/**
* @return Tags to be assigned to this resource group.
*
*/
private @Nullable Map tags;
private ResourceGroupDefinitionResponse() {}
/**
* @return Artifacts which need to be deployed before this resource group.
*
*/
public List dependsOn() {
return this.dependsOn == null ? List.of() : this.dependsOn;
}
/**
* @return Description of this parameter/resourceGroup.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return DisplayName of this parameter/resourceGroup.
*
*/
public Optional displayName() {
return Optional.ofNullable(this.displayName);
}
/**
* @return Location of this resourceGroup. Leave empty if the resource group location will be specified during the blueprint assignment.
*
*/
public Optional location() {
return Optional.ofNullable(this.location);
}
/**
* @return Name of this resourceGroup. Leave empty if the resource group name will be specified during the blueprint assignment.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return StrongType for UI to render rich experience during blueprint assignment. Supported strong types are resourceType, principalId and location.
*
*/
public Optional strongType() {
return Optional.ofNullable(this.strongType);
}
/**
* @return Tags to be assigned to this resource group.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ResourceGroupDefinitionResponse 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 @Nullable String location;
private @Nullable String name;
private @Nullable String strongType;
private @Nullable Map tags;
public Builder() {}
public Builder(ResourceGroupDefinitionResponse defaults) {
Objects.requireNonNull(defaults);
this.dependsOn = defaults.dependsOn;
this.description = defaults.description;
this.displayName = defaults.displayName;
this.location = defaults.location;
this.name = defaults.name;
this.strongType = defaults.strongType;
this.tags = defaults.tags;
}
@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 location(@Nullable String location) {
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder strongType(@Nullable String strongType) {
this.strongType = strongType;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
public ResourceGroupDefinitionResponse build() {
final var _resultValue = new ResourceGroupDefinitionResponse();
_resultValue.dependsOn = dependsOn;
_resultValue.description = description;
_resultValue.displayName = displayName;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.strongType = strongType;
_resultValue.tags = tags;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy