com.pulumi.meraki.networks.outputs.WirelessSsidsSplashSettingsSelfRegistration 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.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class WirelessSsidsSplashSettingsSelfRegistration {
/**
* @return How created user accounts should be authorized.
*
*/
private @Nullable String authorizationType;
/**
* @return Whether or not to allow users to create their own account on the network.
*
*/
private @Nullable Boolean enabled;
private WirelessSsidsSplashSettingsSelfRegistration() {}
/**
* @return How created user accounts should be authorized.
*
*/
public Optional authorizationType() {
return Optional.ofNullable(this.authorizationType);
}
/**
* @return Whether or not to allow users to create their own account on the network.
*
*/
public Optional enabled() {
return Optional.ofNullable(this.enabled);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WirelessSsidsSplashSettingsSelfRegistration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String authorizationType;
private @Nullable Boolean enabled;
public Builder() {}
public Builder(WirelessSsidsSplashSettingsSelfRegistration defaults) {
Objects.requireNonNull(defaults);
this.authorizationType = defaults.authorizationType;
this.enabled = defaults.enabled;
}
@CustomType.Setter
public Builder authorizationType(@Nullable String authorizationType) {
this.authorizationType = authorizationType;
return this;
}
@CustomType.Setter
public Builder enabled(@Nullable Boolean enabled) {
this.enabled = enabled;
return this;
}
public WirelessSsidsSplashSettingsSelfRegistration build() {
final var _resultValue = new WirelessSsidsSplashSettingsSelfRegistration();
_resultValue.authorizationType = authorizationType;
_resultValue.enabled = enabled;
return _resultValue;
}
}
}