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

com.pulumi.azurenative.intune.AndroidMAMPolicyByNameArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.intune;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class AndroidMAMPolicyByNameArgs extends com.pulumi.resources.ResourceArgs {

    public static final AndroidMAMPolicyByNameArgs Empty = new AndroidMAMPolicyByNameArgs();

    @Import(name="accessRecheckOfflineTimeout")
    private @Nullable Output accessRecheckOfflineTimeout;

    public Optional> accessRecheckOfflineTimeout() {
        return Optional.ofNullable(this.accessRecheckOfflineTimeout);
    }

    @Import(name="accessRecheckOnlineTimeout")
    private @Nullable Output accessRecheckOnlineTimeout;

    public Optional> accessRecheckOnlineTimeout() {
        return Optional.ofNullable(this.accessRecheckOnlineTimeout);
    }

    @Import(name="appSharingFromLevel")
    private @Nullable Output appSharingFromLevel;

    public Optional> appSharingFromLevel() {
        return Optional.ofNullable(this.appSharingFromLevel);
    }

    @Import(name="appSharingToLevel")
    private @Nullable Output appSharingToLevel;

    public Optional> appSharingToLevel() {
        return Optional.ofNullable(this.appSharingToLevel);
    }

    @Import(name="authentication")
    private @Nullable Output authentication;

    public Optional> authentication() {
        return Optional.ofNullable(this.authentication);
    }

    @Import(name="clipboardSharingLevel")
    private @Nullable Output clipboardSharingLevel;

    public Optional> clipboardSharingLevel() {
        return Optional.ofNullable(this.clipboardSharingLevel);
    }

    @Import(name="dataBackup")
    private @Nullable Output dataBackup;

    public Optional> dataBackup() {
        return Optional.ofNullable(this.dataBackup);
    }

    @Import(name="description")
    private @Nullable Output description;

    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    @Import(name="deviceCompliance")
    private @Nullable Output deviceCompliance;

    public Optional> deviceCompliance() {
        return Optional.ofNullable(this.deviceCompliance);
    }

    @Import(name="fileEncryption")
    private @Nullable Output fileEncryption;

    public Optional> fileEncryption() {
        return Optional.ofNullable(this.fileEncryption);
    }

    @Import(name="fileSharingSaveAs")
    private @Nullable Output fileSharingSaveAs;

    public Optional> fileSharingSaveAs() {
        return Optional.ofNullable(this.fileSharingSaveAs);
    }

    @Import(name="friendlyName", required=true)
    private Output friendlyName;

    public Output friendlyName() {
        return this.friendlyName;
    }

    /**
     * Location hostName for the tenant
     * 
     */
    @Import(name="hostName", required=true)
    private Output hostName;

    /**
     * @return Location hostName for the tenant
     * 
     */
    public Output hostName() {
        return this.hostName;
    }

    /**
     * Resource Location
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Resource Location
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    @Import(name="managedBrowser")
    private @Nullable Output managedBrowser;

    public Optional> managedBrowser() {
        return Optional.ofNullable(this.managedBrowser);
    }

    @Import(name="offlineWipeTimeout")
    private @Nullable Output offlineWipeTimeout;

    public Optional> offlineWipeTimeout() {
        return Optional.ofNullable(this.offlineWipeTimeout);
    }

    @Import(name="pin")
    private @Nullable Output pin;

    public Optional> pin() {
        return Optional.ofNullable(this.pin);
    }

    @Import(name="pinNumRetry")
    private @Nullable Output pinNumRetry;

    public Optional> pinNumRetry() {
        return Optional.ofNullable(this.pinNumRetry);
    }

    /**
     * Unique name for the policy
     * 
     */
    @Import(name="policyName")
    private @Nullable Output policyName;

    /**
     * @return Unique name for the policy
     * 
     */
    public Optional> policyName() {
        return Optional.ofNullable(this.policyName);
    }

    @Import(name="screenCapture")
    private @Nullable Output screenCapture;

    public Optional> screenCapture() {
        return Optional.ofNullable(this.screenCapture);
    }

    /**
     * Resource Tags
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource Tags
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private AndroidMAMPolicyByNameArgs() {}

    private AndroidMAMPolicyByNameArgs(AndroidMAMPolicyByNameArgs $) {
        this.accessRecheckOfflineTimeout = $.accessRecheckOfflineTimeout;
        this.accessRecheckOnlineTimeout = $.accessRecheckOnlineTimeout;
        this.appSharingFromLevel = $.appSharingFromLevel;
        this.appSharingToLevel = $.appSharingToLevel;
        this.authentication = $.authentication;
        this.clipboardSharingLevel = $.clipboardSharingLevel;
        this.dataBackup = $.dataBackup;
        this.description = $.description;
        this.deviceCompliance = $.deviceCompliance;
        this.fileEncryption = $.fileEncryption;
        this.fileSharingSaveAs = $.fileSharingSaveAs;
        this.friendlyName = $.friendlyName;
        this.hostName = $.hostName;
        this.location = $.location;
        this.managedBrowser = $.managedBrowser;
        this.offlineWipeTimeout = $.offlineWipeTimeout;
        this.pin = $.pin;
        this.pinNumRetry = $.pinNumRetry;
        this.policyName = $.policyName;
        this.screenCapture = $.screenCapture;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private AndroidMAMPolicyByNameArgs $;

        public Builder() {
            $ = new AndroidMAMPolicyByNameArgs();
        }

        public Builder(AndroidMAMPolicyByNameArgs defaults) {
            $ = new AndroidMAMPolicyByNameArgs(Objects.requireNonNull(defaults));
        }

        public Builder accessRecheckOfflineTimeout(@Nullable Output accessRecheckOfflineTimeout) {
            $.accessRecheckOfflineTimeout = accessRecheckOfflineTimeout;
            return this;
        }

        public Builder accessRecheckOfflineTimeout(String accessRecheckOfflineTimeout) {
            return accessRecheckOfflineTimeout(Output.of(accessRecheckOfflineTimeout));
        }

        public Builder accessRecheckOnlineTimeout(@Nullable Output accessRecheckOnlineTimeout) {
            $.accessRecheckOnlineTimeout = accessRecheckOnlineTimeout;
            return this;
        }

        public Builder accessRecheckOnlineTimeout(String accessRecheckOnlineTimeout) {
            return accessRecheckOnlineTimeout(Output.of(accessRecheckOnlineTimeout));
        }

        public Builder appSharingFromLevel(@Nullable Output appSharingFromLevel) {
            $.appSharingFromLevel = appSharingFromLevel;
            return this;
        }

        public Builder appSharingFromLevel(String appSharingFromLevel) {
            return appSharingFromLevel(Output.of(appSharingFromLevel));
        }

        public Builder appSharingToLevel(@Nullable Output appSharingToLevel) {
            $.appSharingToLevel = appSharingToLevel;
            return this;
        }

        public Builder appSharingToLevel(String appSharingToLevel) {
            return appSharingToLevel(Output.of(appSharingToLevel));
        }

        public Builder authentication(@Nullable Output authentication) {
            $.authentication = authentication;
            return this;
        }

        public Builder authentication(String authentication) {
            return authentication(Output.of(authentication));
        }

        public Builder clipboardSharingLevel(@Nullable Output clipboardSharingLevel) {
            $.clipboardSharingLevel = clipboardSharingLevel;
            return this;
        }

        public Builder clipboardSharingLevel(String clipboardSharingLevel) {
            return clipboardSharingLevel(Output.of(clipboardSharingLevel));
        }

        public Builder dataBackup(@Nullable Output dataBackup) {
            $.dataBackup = dataBackup;
            return this;
        }

        public Builder dataBackup(String dataBackup) {
            return dataBackup(Output.of(dataBackup));
        }

        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        public Builder description(String description) {
            return description(Output.of(description));
        }

        public Builder deviceCompliance(@Nullable Output deviceCompliance) {
            $.deviceCompliance = deviceCompliance;
            return this;
        }

        public Builder deviceCompliance(String deviceCompliance) {
            return deviceCompliance(Output.of(deviceCompliance));
        }

        public Builder fileEncryption(@Nullable Output fileEncryption) {
            $.fileEncryption = fileEncryption;
            return this;
        }

        public Builder fileEncryption(String fileEncryption) {
            return fileEncryption(Output.of(fileEncryption));
        }

        public Builder fileSharingSaveAs(@Nullable Output fileSharingSaveAs) {
            $.fileSharingSaveAs = fileSharingSaveAs;
            return this;
        }

        public Builder fileSharingSaveAs(String fileSharingSaveAs) {
            return fileSharingSaveAs(Output.of(fileSharingSaveAs));
        }

        public Builder friendlyName(Output friendlyName) {
            $.friendlyName = friendlyName;
            return this;
        }

        public Builder friendlyName(String friendlyName) {
            return friendlyName(Output.of(friendlyName));
        }

        /**
         * @param hostName Location hostName for the tenant
         * 
         * @return builder
         * 
         */
        public Builder hostName(Output hostName) {
            $.hostName = hostName;
            return this;
        }

        /**
         * @param hostName Location hostName for the tenant
         * 
         * @return builder
         * 
         */
        public Builder hostName(String hostName) {
            return hostName(Output.of(hostName));
        }

        /**
         * @param location Resource Location
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Resource Location
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        public Builder managedBrowser(@Nullable Output managedBrowser) {
            $.managedBrowser = managedBrowser;
            return this;
        }

        public Builder managedBrowser(String managedBrowser) {
            return managedBrowser(Output.of(managedBrowser));
        }

        public Builder offlineWipeTimeout(@Nullable Output offlineWipeTimeout) {
            $.offlineWipeTimeout = offlineWipeTimeout;
            return this;
        }

        public Builder offlineWipeTimeout(String offlineWipeTimeout) {
            return offlineWipeTimeout(Output.of(offlineWipeTimeout));
        }

        public Builder pin(@Nullable Output pin) {
            $.pin = pin;
            return this;
        }

        public Builder pin(String pin) {
            return pin(Output.of(pin));
        }

        public Builder pinNumRetry(@Nullable Output pinNumRetry) {
            $.pinNumRetry = pinNumRetry;
            return this;
        }

        public Builder pinNumRetry(Integer pinNumRetry) {
            return pinNumRetry(Output.of(pinNumRetry));
        }

        /**
         * @param policyName Unique name for the policy
         * 
         * @return builder
         * 
         */
        public Builder policyName(@Nullable Output policyName) {
            $.policyName = policyName;
            return this;
        }

        /**
         * @param policyName Unique name for the policy
         * 
         * @return builder
         * 
         */
        public Builder policyName(String policyName) {
            return policyName(Output.of(policyName));
        }

        public Builder screenCapture(@Nullable Output screenCapture) {
            $.screenCapture = screenCapture;
            return this;
        }

        public Builder screenCapture(String screenCapture) {
            return screenCapture(Output.of(screenCapture));
        }

        /**
         * @param tags Resource Tags
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Resource Tags
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public AndroidMAMPolicyByNameArgs build() {
            $.appSharingFromLevel = Codegen.stringProp("appSharingFromLevel").output().arg($.appSharingFromLevel).def("none").getNullable();
            $.appSharingToLevel = Codegen.stringProp("appSharingToLevel").output().arg($.appSharingToLevel).def("none").getNullable();
            $.authentication = Codegen.stringProp("authentication").output().arg($.authentication).def("required").getNullable();
            $.clipboardSharingLevel = Codegen.stringProp("clipboardSharingLevel").output().arg($.clipboardSharingLevel).def("blocked").getNullable();
            $.dataBackup = Codegen.stringProp("dataBackup").output().arg($.dataBackup).def("allow").getNullable();
            $.deviceCompliance = Codegen.stringProp("deviceCompliance").output().arg($.deviceCompliance).def("enable").getNullable();
            $.fileEncryption = Codegen.stringProp("fileEncryption").output().arg($.fileEncryption).def("required").getNullable();
            $.fileSharingSaveAs = Codegen.stringProp("fileSharingSaveAs").output().arg($.fileSharingSaveAs).def("allow").getNullable();
            if ($.friendlyName == null) {
                throw new MissingRequiredPropertyException("AndroidMAMPolicyByNameArgs", "friendlyName");
            }
            if ($.hostName == null) {
                throw new MissingRequiredPropertyException("AndroidMAMPolicyByNameArgs", "hostName");
            }
            $.managedBrowser = Codegen.stringProp("managedBrowser").output().arg($.managedBrowser).def("required").getNullable();
            $.pin = Codegen.stringProp("pin").output().arg($.pin).def("required").getNullable();
            $.screenCapture = Codegen.stringProp("screenCapture").output().arg($.screenCapture).def("allow").getNullable();
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy