com.pulumi.meraki.networks.outputs.WirelessSsidsSplashSettingsGuestSponsorship 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 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;
}
}
}