All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.meraki.networks.outputs.GetSwitchPortSchedulesItemPortScheduleThursday Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
Show 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.meraki.networks.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetSwitchPortSchedulesItemPortScheduleThursday {
    /**
     * @return Whether the schedule is active or inactive
     * 
     */
    private Boolean active;
    /**
     * @return The time, from '00:00' to '24:00'
     * 
     */
    private String from;
    /**
     * @return The time, from '00:00' to '24:00'
     * 
     */
    private String to;

    private GetSwitchPortSchedulesItemPortScheduleThursday() {}
    /**
     * @return Whether the schedule is active or inactive
     * 
     */
    public Boolean active() {
        return this.active;
    }
    /**
     * @return The time, from '00:00' to '24:00'
     * 
     */
    public String from() {
        return this.from;
    }
    /**
     * @return The time, from '00:00' to '24:00'
     * 
     */
    public String to() {
        return this.to;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetSwitchPortSchedulesItemPortScheduleThursday defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Boolean active;
        private String from;
        private String to;
        public Builder() {}
        public Builder(GetSwitchPortSchedulesItemPortScheduleThursday defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.active = defaults.active;
    	      this.from = defaults.from;
    	      this.to = defaults.to;
        }

        @CustomType.Setter
        public Builder active(Boolean active) {
            if (active == null) {
              throw new MissingRequiredPropertyException("GetSwitchPortSchedulesItemPortScheduleThursday", "active");
            }
            this.active = active;
            return this;
        }
        @CustomType.Setter
        public Builder from(String from) {
            if (from == null) {
              throw new MissingRequiredPropertyException("GetSwitchPortSchedulesItemPortScheduleThursday", "from");
            }
            this.from = from;
            return this;
        }
        @CustomType.Setter
        public Builder to(String to) {
            if (to == null) {
              throw new MissingRequiredPropertyException("GetSwitchPortSchedulesItemPortScheduleThursday", "to");
            }
            this.to = to;
            return this;
        }
        public GetSwitchPortSchedulesItemPortScheduleThursday build() {
            final var _resultValue = new GetSwitchPortSchedulesItemPortScheduleThursday();
            _resultValue.active = active;
            _resultValue.from = from;
            _resultValue.to = to;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy