com.pulumi.meraki.networks.outputs.SwitchPortSchedulesPortSchedule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meraki Show documentation
Show all versions of meraki Show documentation
A Pulumi package for creating and managing Cisco Meraki 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.meraki.networks.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.meraki.networks.outputs.SwitchPortSchedulesPortScheduleFriday;
import com.pulumi.meraki.networks.outputs.SwitchPortSchedulesPortScheduleMonday;
import com.pulumi.meraki.networks.outputs.SwitchPortSchedulesPortScheduleSaturday;
import com.pulumi.meraki.networks.outputs.SwitchPortSchedulesPortScheduleSunday;
import com.pulumi.meraki.networks.outputs.SwitchPortSchedulesPortScheduleThursday;
import com.pulumi.meraki.networks.outputs.SwitchPortSchedulesPortScheduleTuesday;
import com.pulumi.meraki.networks.outputs.SwitchPortSchedulesPortScheduleWednesday;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SwitchPortSchedulesPortSchedule {
/**
* @return The schedule object for Friday.
*
*/
private @Nullable SwitchPortSchedulesPortScheduleFriday friday;
/**
* @return The schedule object for Monday.
*
*/
private @Nullable SwitchPortSchedulesPortScheduleMonday monday;
/**
* @return The schedule object for Saturday.
*
*/
private @Nullable SwitchPortSchedulesPortScheduleSaturday saturday;
/**
* @return The schedule object for Sunday.
*
*/
private @Nullable SwitchPortSchedulesPortScheduleSunday sunday;
/**
* @return The schedule object for Thursday.
*
*/
private @Nullable SwitchPortSchedulesPortScheduleThursday thursday;
/**
* @return The schedule object for Tuesday.
*
*/
private @Nullable SwitchPortSchedulesPortScheduleTuesday tuesday;
/**
* @return The schedule object for Wednesday.
*
*/
private @Nullable SwitchPortSchedulesPortScheduleWednesday wednesday;
private SwitchPortSchedulesPortSchedule() {}
/**
* @return The schedule object for Friday.
*
*/
public Optional friday() {
return Optional.ofNullable(this.friday);
}
/**
* @return The schedule object for Monday.
*
*/
public Optional monday() {
return Optional.ofNullable(this.monday);
}
/**
* @return The schedule object for Saturday.
*
*/
public Optional saturday() {
return Optional.ofNullable(this.saturday);
}
/**
* @return The schedule object for Sunday.
*
*/
public Optional sunday() {
return Optional.ofNullable(this.sunday);
}
/**
* @return The schedule object for Thursday.
*
*/
public Optional thursday() {
return Optional.ofNullable(this.thursday);
}
/**
* @return The schedule object for Tuesday.
*
*/
public Optional tuesday() {
return Optional.ofNullable(this.tuesday);
}
/**
* @return The schedule object for Wednesday.
*
*/
public Optional wednesday() {
return Optional.ofNullable(this.wednesday);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SwitchPortSchedulesPortSchedule defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable SwitchPortSchedulesPortScheduleFriday friday;
private @Nullable SwitchPortSchedulesPortScheduleMonday monday;
private @Nullable SwitchPortSchedulesPortScheduleSaturday saturday;
private @Nullable SwitchPortSchedulesPortScheduleSunday sunday;
private @Nullable SwitchPortSchedulesPortScheduleThursday thursday;
private @Nullable SwitchPortSchedulesPortScheduleTuesday tuesday;
private @Nullable SwitchPortSchedulesPortScheduleWednesday wednesday;
public Builder() {}
public Builder(SwitchPortSchedulesPortSchedule defaults) {
Objects.requireNonNull(defaults);
this.friday = defaults.friday;
this.monday = defaults.monday;
this.saturday = defaults.saturday;
this.sunday = defaults.sunday;
this.thursday = defaults.thursday;
this.tuesday = defaults.tuesday;
this.wednesday = defaults.wednesday;
}
@CustomType.Setter
public Builder friday(@Nullable SwitchPortSchedulesPortScheduleFriday friday) {
this.friday = friday;
return this;
}
@CustomType.Setter
public Builder monday(@Nullable SwitchPortSchedulesPortScheduleMonday monday) {
this.monday = monday;
return this;
}
@CustomType.Setter
public Builder saturday(@Nullable SwitchPortSchedulesPortScheduleSaturday saturday) {
this.saturday = saturday;
return this;
}
@CustomType.Setter
public Builder sunday(@Nullable SwitchPortSchedulesPortScheduleSunday sunday) {
this.sunday = sunday;
return this;
}
@CustomType.Setter
public Builder thursday(@Nullable SwitchPortSchedulesPortScheduleThursday thursday) {
this.thursday = thursday;
return this;
}
@CustomType.Setter
public Builder tuesday(@Nullable SwitchPortSchedulesPortScheduleTuesday tuesday) {
this.tuesday = tuesday;
return this;
}
@CustomType.Setter
public Builder wednesday(@Nullable SwitchPortSchedulesPortScheduleWednesday wednesday) {
this.wednesday = wednesday;
return this;
}
public SwitchPortSchedulesPortSchedule build() {
final var _resultValue = new SwitchPortSchedulesPortSchedule();
_resultValue.friday = friday;
_resultValue.monday = monday;
_resultValue.saturday = saturday;
_resultValue.sunday = sunday;
_resultValue.thursday = thursday;
_resultValue.tuesday = tuesday;
_resultValue.wednesday = wednesday;
return _resultValue;
}
}
}