com.pulumi.meraki.networks.outputs.ClientsProvisionParametersPoliciesBySsidStatus3 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.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ClientsProvisionParametersPoliciesBySsidStatus3 {
/**
* @return The policy to apply to the specified client. Can be 'Allowed', 'Blocked', 'Normal' or 'Group policy'. Required.
*
*/
private @Nullable String devicePolicy;
/**
* @return The ID of the desired group policy to apply to the client. Required if 'devicePolicy' is set to "Group policy". Otherwise this is ignored.
*
*/
private @Nullable String groupPolicyId;
private ClientsProvisionParametersPoliciesBySsidStatus3() {}
/**
* @return The policy to apply to the specified client. Can be 'Allowed', 'Blocked', 'Normal' or 'Group policy'. Required.
*
*/
public Optional devicePolicy() {
return Optional.ofNullable(this.devicePolicy);
}
/**
* @return The ID of the desired group policy to apply to the client. Required if 'devicePolicy' is set to "Group policy". Otherwise this is ignored.
*
*/
public Optional groupPolicyId() {
return Optional.ofNullable(this.groupPolicyId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClientsProvisionParametersPoliciesBySsidStatus3 defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String devicePolicy;
private @Nullable String groupPolicyId;
public Builder() {}
public Builder(ClientsProvisionParametersPoliciesBySsidStatus3 defaults) {
Objects.requireNonNull(defaults);
this.devicePolicy = defaults.devicePolicy;
this.groupPolicyId = defaults.groupPolicyId;
}
@CustomType.Setter
public Builder devicePolicy(@Nullable String devicePolicy) {
this.devicePolicy = devicePolicy;
return this;
}
@CustomType.Setter
public Builder groupPolicyId(@Nullable String groupPolicyId) {
this.groupPolicyId = groupPolicyId;
return this;
}
public ClientsProvisionParametersPoliciesBySsidStatus3 build() {
final var _resultValue = new ClientsProvisionParametersPoliciesBySsidStatus3();
_resultValue.devicePolicy = devicePolicy;
_resultValue.groupPolicyId = groupPolicyId;
return _resultValue;
}
}
}