com.pulumi.aws.medialive.outputs.ChannelMaintenance 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.medialive.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ChannelMaintenance {
/**
* @return The day of the week to use for maintenance.
*
*/
private String maintenanceDay;
/**
* @return The hour maintenance will start.
*
*/
private String maintenanceStartTime;
private ChannelMaintenance() {}
/**
* @return The day of the week to use for maintenance.
*
*/
public String maintenanceDay() {
return this.maintenanceDay;
}
/**
* @return The hour maintenance will start.
*
*/
public String maintenanceStartTime() {
return this.maintenanceStartTime;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ChannelMaintenance defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String maintenanceDay;
private String maintenanceStartTime;
public Builder() {}
public Builder(ChannelMaintenance defaults) {
Objects.requireNonNull(defaults);
this.maintenanceDay = defaults.maintenanceDay;
this.maintenanceStartTime = defaults.maintenanceStartTime;
}
@CustomType.Setter
public Builder maintenanceDay(String maintenanceDay) {
if (maintenanceDay == null) {
throw new MissingRequiredPropertyException("ChannelMaintenance", "maintenanceDay");
}
this.maintenanceDay = maintenanceDay;
return this;
}
@CustomType.Setter
public Builder maintenanceStartTime(String maintenanceStartTime) {
if (maintenanceStartTime == null) {
throw new MissingRequiredPropertyException("ChannelMaintenance", "maintenanceStartTime");
}
this.maintenanceStartTime = maintenanceStartTime;
return this;
}
public ChannelMaintenance build() {
final var _resultValue = new ChannelMaintenance();
_resultValue.maintenanceDay = maintenanceDay;
_resultValue.maintenanceStartTime = maintenanceStartTime;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy