
com.pulumi.azurenative.automation.outputs.RunbookParameterResponse 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.azurenative.automation.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class RunbookParameterResponse {
/**
* @return Gets or sets the default value of parameter.
*
*/
private @Nullable String defaultValue;
/**
* @return Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
*
*/
private @Nullable Boolean isMandatory;
/**
* @return Get or sets the position of the parameter.
*
*/
private @Nullable Integer position;
/**
* @return Gets or sets the type of the parameter.
*
*/
private @Nullable String type;
private RunbookParameterResponse() {}
/**
* @return Gets or sets the default value of parameter.
*
*/
public Optional defaultValue() {
return Optional.ofNullable(this.defaultValue);
}
/**
* @return Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
*
*/
public Optional isMandatory() {
return Optional.ofNullable(this.isMandatory);
}
/**
* @return Get or sets the position of the parameter.
*
*/
public Optional position() {
return Optional.ofNullable(this.position);
}
/**
* @return Gets or sets the type of the parameter.
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RunbookParameterResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String defaultValue;
private @Nullable Boolean isMandatory;
private @Nullable Integer position;
private @Nullable String type;
public Builder() {}
public Builder(RunbookParameterResponse defaults) {
Objects.requireNonNull(defaults);
this.defaultValue = defaults.defaultValue;
this.isMandatory = defaults.isMandatory;
this.position = defaults.position;
this.type = defaults.type;
}
@CustomType.Setter
public Builder defaultValue(@Nullable String defaultValue) {
this.defaultValue = defaultValue;
return this;
}
@CustomType.Setter
public Builder isMandatory(@Nullable Boolean isMandatory) {
this.isMandatory = isMandatory;
return this;
}
@CustomType.Setter
public Builder position(@Nullable Integer position) {
this.position = position;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
public RunbookParameterResponse build() {
final var _resultValue = new RunbookParameterResponse();
_resultValue.defaultValue = defaultValue;
_resultValue.isMandatory = isMandatory;
_resultValue.position = position;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy