com.pulumi.azurenative.sqlvirtualmachine.outputs.AssessmentSettingsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.sqlvirtualmachine.outputs;
import com.pulumi.azurenative.sqlvirtualmachine.outputs.ScheduleResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AssessmentSettingsResponse {
/**
* @return Enable or disable assessment feature on SQL virtual machine.
*
*/
private @Nullable Boolean enable;
/**
* @return Run assessment immediately on SQL virtual machine.
*
*/
private @Nullable Boolean runImmediately;
/**
* @return Schedule for Assessment.
*
*/
private @Nullable ScheduleResponse schedule;
private AssessmentSettingsResponse() {}
/**
* @return Enable or disable assessment feature on SQL virtual machine.
*
*/
public Optional enable() {
return Optional.ofNullable(this.enable);
}
/**
* @return Run assessment immediately on SQL virtual machine.
*
*/
public Optional runImmediately() {
return Optional.ofNullable(this.runImmediately);
}
/**
* @return Schedule for Assessment.
*
*/
public Optional schedule() {
return Optional.ofNullable(this.schedule);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AssessmentSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean enable;
private @Nullable Boolean runImmediately;
private @Nullable ScheduleResponse schedule;
public Builder() {}
public Builder(AssessmentSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.enable = defaults.enable;
this.runImmediately = defaults.runImmediately;
this.schedule = defaults.schedule;
}
@CustomType.Setter
public Builder enable(@Nullable Boolean enable) {
this.enable = enable;
return this;
}
@CustomType.Setter
public Builder runImmediately(@Nullable Boolean runImmediately) {
this.runImmediately = runImmediately;
return this;
}
@CustomType.Setter
public Builder schedule(@Nullable ScheduleResponse schedule) {
this.schedule = schedule;
return this;
}
public AssessmentSettingsResponse build() {
final var _resultValue = new AssessmentSettingsResponse();
_resultValue.enable = enable;
_resultValue.runImmediately = runImmediately;
_resultValue.schedule = schedule;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy