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

com.pulumi.meraki.networks.outputs.WirelessSsidsSplashSettingsGuestSponsorship 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.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class WirelessSsidsSplashSettingsGuestSponsorship {
    /**
     * @return Duration in minutes of sponsored guest authorization.
     * 
     */
    private @Nullable Integer durationInMinutes;
    /**
     * @return Whether or not guests can specify how much time they are requesting.
     * 
     */
    private @Nullable Boolean guestCanRequestTimeframe;

    private WirelessSsidsSplashSettingsGuestSponsorship() {}
    /**
     * @return Duration in minutes of sponsored guest authorization.
     * 
     */
    public Optional durationInMinutes() {
        return Optional.ofNullable(this.durationInMinutes);
    }
    /**
     * @return Whether or not guests can specify how much time they are requesting.
     * 
     */
    public Optional guestCanRequestTimeframe() {
        return Optional.ofNullable(this.guestCanRequestTimeframe);
    }

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

    public static Builder builder(WirelessSsidsSplashSettingsGuestSponsorship defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Integer durationInMinutes;
        private @Nullable Boolean guestCanRequestTimeframe;
        public Builder() {}
        public Builder(WirelessSsidsSplashSettingsGuestSponsorship defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.durationInMinutes = defaults.durationInMinutes;
    	      this.guestCanRequestTimeframe = defaults.guestCanRequestTimeframe;
        }

        @CustomType.Setter
        public Builder durationInMinutes(@Nullable Integer durationInMinutes) {

            this.durationInMinutes = durationInMinutes;
            return this;
        }
        @CustomType.Setter
        public Builder guestCanRequestTimeframe(@Nullable Boolean guestCanRequestTimeframe) {

            this.guestCanRequestTimeframe = guestCanRequestTimeframe;
            return this;
        }
        public WirelessSsidsSplashSettingsGuestSponsorship build() {
            final var _resultValue = new WirelessSsidsSplashSettingsGuestSponsorship();
            _resultValue.durationInMinutes = durationInMinutes;
            _resultValue.guestCanRequestTimeframe = guestCanRequestTimeframe;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy