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

com.pulumi.meraki.networks.outputs.GroupPoliciesSchedulingFriday 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 java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GroupPoliciesSchedulingFriday {
    /**
     * @return Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
     * 
     */
    private @Nullable Boolean active;
    /**
     * @return The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
     * 
     */
    private @Nullable String from;
    /**
     * @return The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
     * 
     */
    private @Nullable String to;

    private GroupPoliciesSchedulingFriday() {}
    /**
     * @return Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
     * 
     */
    public Optional active() {
        return Optional.ofNullable(this.active);
    }
    /**
     * @return The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
     * 
     */
    public Optional from() {
        return Optional.ofNullable(this.from);
    }
    /**
     * @return The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
     * 
     */
    public Optional to() {
        return Optional.ofNullable(this.to);
    }

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

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

        @CustomType.Setter
        public Builder active(@Nullable Boolean active) {

            this.active = active;
            return this;
        }
        @CustomType.Setter
        public Builder from(@Nullable String from) {

            this.from = from;
            return this;
        }
        @CustomType.Setter
        public Builder to(@Nullable String to) {

            this.to = to;
            return this;
        }
        public GroupPoliciesSchedulingFriday build() {
            final var _resultValue = new GroupPoliciesSchedulingFriday();
            _resultValue.active = active;
            _resultValue.from = from;
            _resultValue.to = to;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy