com.pulumi.aws.opensearch.inputs.GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;
public final class GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs extends com.pulumi.resources.ResourceArgs {
public static final GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs Empty = new GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs();
/**
* Starting hour of the 10-hour window for updates
*
*/
@Import(name="hours", required=true)
private Output hours;
/**
* @return Starting hour of the 10-hour window for updates
*
*/
public Output hours() {
return this.hours;
}
/**
* Starting minute of the 10-hour window for updates
*
*/
@Import(name="minutes", required=true)
private Output minutes;
/**
* @return Starting minute of the 10-hour window for updates
*
*/
public Output minutes() {
return this.minutes;
}
private GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs() {}
private GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs(GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs $) {
this.hours = $.hours;
this.minutes = $.minutes;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs $;
public Builder() {
$ = new GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs();
}
public Builder(GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs defaults) {
$ = new GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs(Objects.requireNonNull(defaults));
}
/**
* @param hours Starting hour of the 10-hour window for updates
*
* @return builder
*
*/
public Builder hours(Output hours) {
$.hours = hours;
return this;
}
/**
* @param hours Starting hour of the 10-hour window for updates
*
* @return builder
*
*/
public Builder hours(Integer hours) {
return hours(Output.of(hours));
}
/**
* @param minutes Starting minute of the 10-hour window for updates
*
* @return builder
*
*/
public Builder minutes(Output minutes) {
$.minutes = minutes;
return this;
}
/**
* @param minutes Starting minute of the 10-hour window for updates
*
* @return builder
*
*/
public Builder minutes(Integer minutes) {
return minutes(Output.of(minutes));
}
public GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs build() {
if ($.hours == null) {
throw new MissingRequiredPropertyException("GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs", "hours");
}
if ($.minutes == null) {
throw new MissingRequiredPropertyException("GetDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs", "minutes");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy