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

com.pulumi.azurenative.intune.inputs.GetIoMAMPolicyByNamePlainArgs Maven / Gradle / Ivy

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

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


public final class GetIoMAMPolicyByNamePlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetIoMAMPolicyByNamePlainArgs Empty = new GetIoMAMPolicyByNamePlainArgs();

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

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

    /**
     * Unique name for the policy
     * 
     */
    @Import(name="policyName", required=true)
    private String policyName;

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

    /**
     * select specific fields in entity.
     * 
     */
    @Import(name="select")
    private @Nullable String select;

    /**
     * @return select specific fields in entity.
     * 
     */
    public Optional select() {
        return Optional.ofNullable(this.select);
    }

    private GetIoMAMPolicyByNamePlainArgs() {}

    private GetIoMAMPolicyByNamePlainArgs(GetIoMAMPolicyByNamePlainArgs $) {
        this.hostName = $.hostName;
        this.policyName = $.policyName;
        this.select = $.select;
    }

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

    public static final class Builder {
        private GetIoMAMPolicyByNamePlainArgs $;

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

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

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

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

        /**
         * @param select select specific fields in entity.
         * 
         * @return builder
         * 
         */
        public Builder select(@Nullable String select) {
            $.select = select;
            return this;
        }

        public GetIoMAMPolicyByNamePlainArgs build() {
            if ($.hostName == null) {
                throw new MissingRequiredPropertyException("GetIoMAMPolicyByNamePlainArgs", "hostName");
            }
            if ($.policyName == null) {
                throw new MissingRequiredPropertyException("GetIoMAMPolicyByNamePlainArgs", "policyName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy