
com.pulumi.aws.opensearch.outputs.GetDomainSoftwareUpdateOption 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.aws.opensearch.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.util.Objects;
@CustomType
public final class GetDomainSoftwareUpdateOption {
/**
* @return Enabled or disabled.
*
*/
private Boolean autoSoftwareUpdateEnabled;
private GetDomainSoftwareUpdateOption() {}
/**
* @return Enabled or disabled.
*
*/
public Boolean autoSoftwareUpdateEnabled() {
return this.autoSoftwareUpdateEnabled;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDomainSoftwareUpdateOption defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean autoSoftwareUpdateEnabled;
public Builder() {}
public Builder(GetDomainSoftwareUpdateOption defaults) {
Objects.requireNonNull(defaults);
this.autoSoftwareUpdateEnabled = defaults.autoSoftwareUpdateEnabled;
}
@CustomType.Setter
public Builder autoSoftwareUpdateEnabled(Boolean autoSoftwareUpdateEnabled) {
if (autoSoftwareUpdateEnabled == null) {
throw new MissingRequiredPropertyException("GetDomainSoftwareUpdateOption", "autoSoftwareUpdateEnabled");
}
this.autoSoftwareUpdateEnabled = autoSoftwareUpdateEnabled;
return this;
}
public GetDomainSoftwareUpdateOption build() {
final var _resultValue = new GetDomainSoftwareUpdateOption();
_resultValue.autoSoftwareUpdateEnabled = autoSoftwareUpdateEnabled;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy