
com.pulumi.azurenative.desktopvirtualization.outputs.MaintenanceWindowPropertiesResponse 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.desktopvirtualization.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class MaintenanceWindowPropertiesResponse {
/**
* @return Day of the week.
*
*/
private @Nullable String dayOfWeek;
/**
* @return The update start hour of the day. (0 - 23)
*
*/
private @Nullable Integer hour;
private MaintenanceWindowPropertiesResponse() {}
/**
* @return Day of the week.
*
*/
public Optional dayOfWeek() {
return Optional.ofNullable(this.dayOfWeek);
}
/**
* @return The update start hour of the day. (0 - 23)
*
*/
public Optional hour() {
return Optional.ofNullable(this.hour);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MaintenanceWindowPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String dayOfWeek;
private @Nullable Integer hour;
public Builder() {}
public Builder(MaintenanceWindowPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.dayOfWeek = defaults.dayOfWeek;
this.hour = defaults.hour;
}
@CustomType.Setter
public Builder dayOfWeek(@Nullable String dayOfWeek) {
this.dayOfWeek = dayOfWeek;
return this;
}
@CustomType.Setter
public Builder hour(@Nullable Integer hour) {
this.hour = hour;
return this;
}
public MaintenanceWindowPropertiesResponse build() {
final var _resultValue = new MaintenanceWindowPropertiesResponse();
_resultValue.dayOfWeek = dayOfWeek;
_resultValue.hour = hour;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy