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

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

@CustomType
public final class ClientsProvisionParametersPoliciesBySsidStatus2 {
    /**
     * @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 ClientsProvisionParametersPoliciesBySsidStatus2() {}
    /**
     * @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(ClientsProvisionParametersPoliciesBySsidStatus2 defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String devicePolicy;
        private @Nullable String groupPolicyId;
        public Builder() {}
        public Builder(ClientsProvisionParametersPoliciesBySsidStatus2 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 ClientsProvisionParametersPoliciesBySsidStatus2 build() {
            final var _resultValue = new ClientsProvisionParametersPoliciesBySsidStatus2();
            _resultValue.devicePolicy = devicePolicy;
            _resultValue.groupPolicyId = groupPolicyId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy