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

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

// *** 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.Output;
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 GetAndroidMAMPolicyByNameArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetAndroidMAMPolicyByNameArgs Empty = new GetAndroidMAMPolicyByNameArgs();

    /**
     * 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;
    }

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

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

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

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

    private GetAndroidMAMPolicyByNameArgs() {}

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

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

    public static final class Builder {
        private GetAndroidMAMPolicyByNameArgs $;

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

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

        /**
         * @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 policyName Unique name for the policy
         * 
         * @return builder
         * 
         */
        public Builder policyName(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));
        }

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

        /**
         * @param select select specific fields in entity.
         * 
         * @return builder
         * 
         */
        public Builder select(String select) {
            return select(Output.of(select));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy