![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.automation.outputs.GetBoolVariableResult 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.automation.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetBoolVariableResult {
private String automationAccountName;
/**
* @return The description of the Automation Variable.
*
*/
private String description;
/**
* @return Specifies if the Automation Variable is encrypted. Defaults to `false`.
*
*/
private Boolean encrypted;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
private String name;
private String resourceGroupName;
/**
* @return The value of the Automation Variable as a `boolean`.
*
*/
private Boolean value;
private GetBoolVariableResult() {}
public String automationAccountName() {
return this.automationAccountName;
}
/**
* @return The description of the Automation Variable.
*
*/
public String description() {
return this.description;
}
/**
* @return Specifies if the Automation Variable is encrypted. Defaults to `false`.
*
*/
public Boolean encrypted() {
return this.encrypted;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
public String name() {
return this.name;
}
public String resourceGroupName() {
return this.resourceGroupName;
}
/**
* @return The value of the Automation Variable as a `boolean`.
*
*/
public Boolean value() {
return this.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetBoolVariableResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String automationAccountName;
private String description;
private Boolean encrypted;
private String id;
private String name;
private String resourceGroupName;
private Boolean value;
public Builder() {}
public Builder(GetBoolVariableResult defaults) {
Objects.requireNonNull(defaults);
this.automationAccountName = defaults.automationAccountName;
this.description = defaults.description;
this.encrypted = defaults.encrypted;
this.id = defaults.id;
this.name = defaults.name;
this.resourceGroupName = defaults.resourceGroupName;
this.value = defaults.value;
}
@CustomType.Setter
public Builder automationAccountName(String automationAccountName) {
if (automationAccountName == null) {
throw new MissingRequiredPropertyException("GetBoolVariableResult", "automationAccountName");
}
this.automationAccountName = automationAccountName;
return this;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetBoolVariableResult", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder encrypted(Boolean encrypted) {
if (encrypted == null) {
throw new MissingRequiredPropertyException("GetBoolVariableResult", "encrypted");
}
this.encrypted = encrypted;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetBoolVariableResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetBoolVariableResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder resourceGroupName(String resourceGroupName) {
if (resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetBoolVariableResult", "resourceGroupName");
}
this.resourceGroupName = resourceGroupName;
return this;
}
@CustomType.Setter
public Builder value(Boolean value) {
if (value == null) {
throw new MissingRequiredPropertyException("GetBoolVariableResult", "value");
}
this.value = value;
return this;
}
public GetBoolVariableResult build() {
final var _resultValue = new GetBoolVariableResult();
_resultValue.automationAccountName = automationAccountName;
_resultValue.description = description;
_resultValue.encrypted = encrypted;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.resourceGroupName = resourceGroupName;
_resultValue.value = value;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy