com.pulumi.aws.opensearch.outputs.DomainOffPeakWindowOptionsOffPeakWindowWindowStartTime Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.opensearch.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DomainOffPeakWindowOptionsOffPeakWindowWindowStartTime {
/**
* @return Starting hour of the 10-hour window for updates
*
*/
private @Nullable Integer hours;
/**
* @return Starting minute of the 10-hour window for updates
*
*/
private @Nullable Integer minutes;
private DomainOffPeakWindowOptionsOffPeakWindowWindowStartTime() {}
/**
* @return Starting hour of the 10-hour window for updates
*
*/
public Optional hours() {
return Optional.ofNullable(this.hours);
}
/**
* @return Starting minute of the 10-hour window for updates
*
*/
public Optional minutes() {
return Optional.ofNullable(this.minutes);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DomainOffPeakWindowOptionsOffPeakWindowWindowStartTime defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer hours;
private @Nullable Integer minutes;
public Builder() {}
public Builder(DomainOffPeakWindowOptionsOffPeakWindowWindowStartTime defaults) {
Objects.requireNonNull(defaults);
this.hours = defaults.hours;
this.minutes = defaults.minutes;
}
@CustomType.Setter
public Builder hours(@Nullable Integer hours) {
this.hours = hours;
return this;
}
@CustomType.Setter
public Builder minutes(@Nullable Integer minutes) {
this.minutes = minutes;
return this;
}
public DomainOffPeakWindowOptionsOffPeakWindowWindowStartTime build() {
final var _resultValue = new DomainOffPeakWindowOptionsOffPeakWindowWindowStartTime();
_resultValue.hours = hours;
_resultValue.minutes = minutes;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy