com.pulumi.spotinst.outputs.OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseWeeklyRepetitionBase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spotinst Show documentation
Show all versions of spotinst Show documentation
A Pulumi package for creating and managing spotinst cloud resources.
The newest version!
// *** 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.spotinst.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseWeeklyRepetitionBase {
private List intervalDays;
private String intervalHoursEndTime;
private String intervalHoursStartTime;
private OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseWeeklyRepetitionBase() {}
public List intervalDays() {
return this.intervalDays;
}
public String intervalHoursEndTime() {
return this.intervalHoursEndTime;
}
public String intervalHoursStartTime() {
return this.intervalHoursStartTime;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseWeeklyRepetitionBase defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List intervalDays;
private String intervalHoursEndTime;
private String intervalHoursStartTime;
public Builder() {}
public Builder(OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseWeeklyRepetitionBase defaults) {
Objects.requireNonNull(defaults);
this.intervalDays = defaults.intervalDays;
this.intervalHoursEndTime = defaults.intervalHoursEndTime;
this.intervalHoursStartTime = defaults.intervalHoursStartTime;
}
@CustomType.Setter
public Builder intervalDays(List intervalDays) {
if (intervalDays == null) {
throw new MissingRequiredPropertyException("OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseWeeklyRepetitionBase", "intervalDays");
}
this.intervalDays = intervalDays;
return this;
}
public Builder intervalDays(String... intervalDays) {
return intervalDays(List.of(intervalDays));
}
@CustomType.Setter
public Builder intervalHoursEndTime(String intervalHoursEndTime) {
if (intervalHoursEndTime == null) {
throw new MissingRequiredPropertyException("OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseWeeklyRepetitionBase", "intervalHoursEndTime");
}
this.intervalHoursEndTime = intervalHoursEndTime;
return this;
}
@CustomType.Setter
public Builder intervalHoursStartTime(String intervalHoursStartTime) {
if (intervalHoursStartTime == null) {
throw new MissingRequiredPropertyException("OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseWeeklyRepetitionBase", "intervalHoursStartTime");
}
this.intervalHoursStartTime = intervalHoursStartTime;
return this;
}
public OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseWeeklyRepetitionBase build() {
final var _resultValue = new OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseWeeklyRepetitionBase();
_resultValue.intervalDays = intervalDays;
_resultValue.intervalHoursEndTime = intervalHoursEndTime;
_resultValue.intervalHoursStartTime = intervalHoursStartTime;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy