com.pulumi.azure.automation.outputs.GetVariablesObject Maven / Gradle / Ivy
// *** 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 GetVariablesObject {
/**
* @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 String value;
private GetVariablesObject() {}
/**
* @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 String value() {
return this.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVariablesObject 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 String value;
public Builder() {}
public Builder(GetVariablesObject 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("GetVariablesObject", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder encrypted(Boolean encrypted) {
if (encrypted == null) {
throw new MissingRequiredPropertyException("GetVariablesObject", "encrypted");
}
this.encrypted = encrypted;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetVariablesObject", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetVariablesObject", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder value(String value) {
if (value == null) {
throw new MissingRequiredPropertyException("GetVariablesObject", "value");
}
this.value = value;
return this;
}
public GetVariablesObject build() {
final var _resultValue = new GetVariablesObject();
_resultValue.description = description;
_resultValue.encrypted = encrypted;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.value = value;
return _resultValue;
}
}
}