com.pulumi.azurenative.servicefabric.outputs.GetmanagedMaintenanceWindowStatusResult 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.servicefabric.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetmanagedMaintenanceWindowStatusResult {
/**
* @return If updates can be applied.
*
*/
private Boolean canApplyUpdates;
/**
* @return Indicates if the region is ready to configure maintenance windows.
*
*/
private Boolean isRegionReady;
/**
* @return If maintenance window is active.
*
*/
private Boolean isWindowActive;
/**
* @return If maintenance window is enabled on this cluster.
*
*/
private Boolean isWindowEnabled;
/**
* @return Last window end time in UTC.
*
*/
private String lastWindowEndTimeUTC;
/**
* @return Last window start time in UTC.
*
*/
private String lastWindowStartTimeUTC;
/**
* @return Last window update time in UTC.
*
*/
private String lastWindowStatusUpdateAtUTC;
private GetmanagedMaintenanceWindowStatusResult() {}
/**
* @return If updates can be applied.
*
*/
public Boolean canApplyUpdates() {
return this.canApplyUpdates;
}
/**
* @return Indicates if the region is ready to configure maintenance windows.
*
*/
public Boolean isRegionReady() {
return this.isRegionReady;
}
/**
* @return If maintenance window is active.
*
*/
public Boolean isWindowActive() {
return this.isWindowActive;
}
/**
* @return If maintenance window is enabled on this cluster.
*
*/
public Boolean isWindowEnabled() {
return this.isWindowEnabled;
}
/**
* @return Last window end time in UTC.
*
*/
public String lastWindowEndTimeUTC() {
return this.lastWindowEndTimeUTC;
}
/**
* @return Last window start time in UTC.
*
*/
public String lastWindowStartTimeUTC() {
return this.lastWindowStartTimeUTC;
}
/**
* @return Last window update time in UTC.
*
*/
public String lastWindowStatusUpdateAtUTC() {
return this.lastWindowStatusUpdateAtUTC;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetmanagedMaintenanceWindowStatusResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean canApplyUpdates;
private Boolean isRegionReady;
private Boolean isWindowActive;
private Boolean isWindowEnabled;
private String lastWindowEndTimeUTC;
private String lastWindowStartTimeUTC;
private String lastWindowStatusUpdateAtUTC;
public Builder() {}
public Builder(GetmanagedMaintenanceWindowStatusResult defaults) {
Objects.requireNonNull(defaults);
this.canApplyUpdates = defaults.canApplyUpdates;
this.isRegionReady = defaults.isRegionReady;
this.isWindowActive = defaults.isWindowActive;
this.isWindowEnabled = defaults.isWindowEnabled;
this.lastWindowEndTimeUTC = defaults.lastWindowEndTimeUTC;
this.lastWindowStartTimeUTC = defaults.lastWindowStartTimeUTC;
this.lastWindowStatusUpdateAtUTC = defaults.lastWindowStatusUpdateAtUTC;
}
@CustomType.Setter
public Builder canApplyUpdates(Boolean canApplyUpdates) {
if (canApplyUpdates == null) {
throw new MissingRequiredPropertyException("GetmanagedMaintenanceWindowStatusResult", "canApplyUpdates");
}
this.canApplyUpdates = canApplyUpdates;
return this;
}
@CustomType.Setter
public Builder isRegionReady(Boolean isRegionReady) {
if (isRegionReady == null) {
throw new MissingRequiredPropertyException("GetmanagedMaintenanceWindowStatusResult", "isRegionReady");
}
this.isRegionReady = isRegionReady;
return this;
}
@CustomType.Setter
public Builder isWindowActive(Boolean isWindowActive) {
if (isWindowActive == null) {
throw new MissingRequiredPropertyException("GetmanagedMaintenanceWindowStatusResult", "isWindowActive");
}
this.isWindowActive = isWindowActive;
return this;
}
@CustomType.Setter
public Builder isWindowEnabled(Boolean isWindowEnabled) {
if (isWindowEnabled == null) {
throw new MissingRequiredPropertyException("GetmanagedMaintenanceWindowStatusResult", "isWindowEnabled");
}
this.isWindowEnabled = isWindowEnabled;
return this;
}
@CustomType.Setter
public Builder lastWindowEndTimeUTC(String lastWindowEndTimeUTC) {
if (lastWindowEndTimeUTC == null) {
throw new MissingRequiredPropertyException("GetmanagedMaintenanceWindowStatusResult", "lastWindowEndTimeUTC");
}
this.lastWindowEndTimeUTC = lastWindowEndTimeUTC;
return this;
}
@CustomType.Setter
public Builder lastWindowStartTimeUTC(String lastWindowStartTimeUTC) {
if (lastWindowStartTimeUTC == null) {
throw new MissingRequiredPropertyException("GetmanagedMaintenanceWindowStatusResult", "lastWindowStartTimeUTC");
}
this.lastWindowStartTimeUTC = lastWindowStartTimeUTC;
return this;
}
@CustomType.Setter
public Builder lastWindowStatusUpdateAtUTC(String lastWindowStatusUpdateAtUTC) {
if (lastWindowStatusUpdateAtUTC == null) {
throw new MissingRequiredPropertyException("GetmanagedMaintenanceWindowStatusResult", "lastWindowStatusUpdateAtUTC");
}
this.lastWindowStatusUpdateAtUTC = lastWindowStatusUpdateAtUTC;
return this;
}
public GetmanagedMaintenanceWindowStatusResult build() {
final var _resultValue = new GetmanagedMaintenanceWindowStatusResult();
_resultValue.canApplyUpdates = canApplyUpdates;
_resultValue.isRegionReady = isRegionReady;
_resultValue.isWindowActive = isWindowActive;
_resultValue.isWindowEnabled = isWindowEnabled;
_resultValue.lastWindowEndTimeUTC = lastWindowEndTimeUTC;
_resultValue.lastWindowStartTimeUTC = lastWindowStartTimeUTC;
_resultValue.lastWindowStatusUpdateAtUTC = lastWindowStatusUpdateAtUTC;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy