com.pulumi.azure.automation.outputs.GetVariablesBool 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 GetVariablesBool {
/**
* @return The description of the Automation Variable.
*
*/
private String description;
/**
* @return Specifies if the Automation Variable is encrypted.
*
*/
private Boolean encrypted;
private String id;
/**
* @return The name of the Automation Variable.
*
*/
private String name;
/**
* @return The value of the Automation Variable.
*
*/
private Boolean value;
private GetVariablesBool() {}
/**
* @return The description of the Automation Variable.
*
*/
public String description() {
return this.description;
}
/**
* @return Specifies if the Automation Variable is encrypted.
*
*/
public Boolean encrypted() {
return this.encrypted;
}
public String id() {
return this.id;
}
/**
* @return The name of the Automation Variable.
*
*/
public String name() {
return this.name;
}
/**
* @return The value of the Automation Variable.
*
*/
public Boolean value() {
return this.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVariablesBool defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String description;
private Boolean encrypted;
private String id;
private String name;
private Boolean value;
public Builder() {}
public Builder(GetVariablesBool defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.encrypted = defaults.encrypted;
this.id = defaults.id;
this.name = defaults.name;
this.value = defaults.value;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetVariablesBool", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder encrypted(Boolean encrypted) {
if (encrypted == null) {
throw new MissingRequiredPropertyException("GetVariablesBool", "encrypted");
}
this.encrypted = encrypted;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetVariablesBool", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetVariablesBool", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder value(Boolean value) {
if (value == null) {
throw new MissingRequiredPropertyException("GetVariablesBool", "value");
}
this.value = value;
return this;
}
public GetVariablesBool build() {
final var _resultValue = new GetVariablesBool();
_resultValue.description = description;
_resultValue.encrypted = encrypted;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.value = value;
return _resultValue;
}
}
}