com.pulumi.azurenative.compute.outputs.LinuxVMGuestPatchAutomaticByPlatformSettingsResponse 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.compute.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class LinuxVMGuestPatchAutomaticByPlatformSettingsResponse {
/**
* @return Enables customer to schedule patching without accidental upgrades
*
*/
private @Nullable Boolean bypassPlatformSafetyChecksOnUserSchedule;
/**
* @return Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
*
*/
private @Nullable String rebootSetting;
private LinuxVMGuestPatchAutomaticByPlatformSettingsResponse() {}
/**
* @return Enables customer to schedule patching without accidental upgrades
*
*/
public Optional bypassPlatformSafetyChecksOnUserSchedule() {
return Optional.ofNullable(this.bypassPlatformSafetyChecksOnUserSchedule);
}
/**
* @return Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
*
*/
public Optional rebootSetting() {
return Optional.ofNullable(this.rebootSetting);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LinuxVMGuestPatchAutomaticByPlatformSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean bypassPlatformSafetyChecksOnUserSchedule;
private @Nullable String rebootSetting;
public Builder() {}
public Builder(LinuxVMGuestPatchAutomaticByPlatformSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.bypassPlatformSafetyChecksOnUserSchedule = defaults.bypassPlatformSafetyChecksOnUserSchedule;
this.rebootSetting = defaults.rebootSetting;
}
@CustomType.Setter
public Builder bypassPlatformSafetyChecksOnUserSchedule(@Nullable Boolean bypassPlatformSafetyChecksOnUserSchedule) {
this.bypassPlatformSafetyChecksOnUserSchedule = bypassPlatformSafetyChecksOnUserSchedule;
return this;
}
@CustomType.Setter
public Builder rebootSetting(@Nullable String rebootSetting) {
this.rebootSetting = rebootSetting;
return this;
}
public LinuxVMGuestPatchAutomaticByPlatformSettingsResponse build() {
final var _resultValue = new LinuxVMGuestPatchAutomaticByPlatformSettingsResponse();
_resultValue.bypassPlatformSafetyChecksOnUserSchedule = bypassPlatformSafetyChecksOnUserSchedule;
_resultValue.rebootSetting = rebootSetting;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy