
com.pulumi.aws.opensearch.outputs.GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTime 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.Integer;
import java.util.Objects;
@CustomType
public final class GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTime {
/**
* @return Starting hour of the 10-hour window for updates
*
*/
private Integer hours;
/**
* @return Starting minute of the 10-hour window for updates
*
*/
private Integer minutes;
private GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTime() {}
/**
* @return Starting hour of the 10-hour window for updates
*
*/
public Integer hours() {
return this.hours;
}
/**
* @return Starting minute of the 10-hour window for updates
*
*/
public Integer minutes() {
return this.minutes;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTime defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer hours;
private Integer minutes;
public Builder() {}
public Builder(GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTime defaults) {
Objects.requireNonNull(defaults);
this.hours = defaults.hours;
this.minutes = defaults.minutes;
}
@CustomType.Setter
public Builder hours(Integer hours) {
if (hours == null) {
throw new MissingRequiredPropertyException("GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTime", "hours");
}
this.hours = hours;
return this;
}
@CustomType.Setter
public Builder minutes(Integer minutes) {
if (minutes == null) {
throw new MissingRequiredPropertyException("GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTime", "minutes");
}
this.minutes = minutes;
return this;
}
public GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTime build() {
final var _resultValue = new GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTime();
_resultValue.hours = hours;
_resultValue.minutes = minutes;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy