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

com.pulumi.cloudflare.inputs.DevicePostureRuleMatchArgs Maven / Gradle / Ivy

There is a newer version: 5.39.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.cloudflare.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DevicePostureRuleMatchArgs Empty = new DevicePostureRuleMatchArgs();

    /**
     * The platform of the device. Available values: `windows`, `mac`, `linux`, `android`, `ios`, `chromeos`.
     * 
     */
    @Import(name="platform")
    private @Nullable Output platform;

    /**
     * @return The platform of the device. Available values: `windows`, `mac`, `linux`, `android`, `ios`, `chromeos`.
     * 
     */
    public Optional> platform() {
        return Optional.ofNullable(this.platform);
    }

    private DevicePostureRuleMatchArgs() {}

    private DevicePostureRuleMatchArgs(DevicePostureRuleMatchArgs $) {
        this.platform = $.platform;
    }

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

    public static final class Builder {
        private DevicePostureRuleMatchArgs $;

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

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

        /**
         * @param platform The platform of the device. Available values: `windows`, `mac`, `linux`, `android`, `ios`, `chromeos`.
         * 
         * @return builder
         * 
         */
        public Builder platform(@Nullable Output platform) {
            $.platform = platform;
            return this;
        }

        /**
         * @param platform The platform of the device. Available values: `windows`, `mac`, `linux`, `android`, `ios`, `chromeos`.
         * 
         * @return builder
         * 
         */
        public Builder platform(String platform) {
            return platform(Output.of(platform));
        }

        public DevicePostureRuleMatchArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy