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

com.pulumi.azurenative.scvmm.inputs.GetHybridIdentityMetadataArgs 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.scvmm.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;


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

    public static final GetHybridIdentityMetadataArgs Empty = new GetHybridIdentityMetadataArgs();

    /**
     * Name of the HybridIdentityMetadata.
     * 
     */
    @Import(name="metadataName", required=true)
    private Output metadataName;

    /**
     * @return Name of the HybridIdentityMetadata.
     * 
     */
    public Output metadataName() {
        return this.metadataName;
    }

    /**
     * The name of the resource group.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Name of the vm.
     * 
     */
    @Import(name="virtualMachineName", required=true)
    private Output virtualMachineName;

    /**
     * @return Name of the vm.
     * 
     */
    public Output virtualMachineName() {
        return this.virtualMachineName;
    }

    private GetHybridIdentityMetadataArgs() {}

    private GetHybridIdentityMetadataArgs(GetHybridIdentityMetadataArgs $) {
        this.metadataName = $.metadataName;
        this.resourceGroupName = $.resourceGroupName;
        this.virtualMachineName = $.virtualMachineName;
    }

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

    public static final class Builder {
        private GetHybridIdentityMetadataArgs $;

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

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

        /**
         * @param metadataName Name of the HybridIdentityMetadata.
         * 
         * @return builder
         * 
         */
        public Builder metadataName(Output metadataName) {
            $.metadataName = metadataName;
            return this;
        }

        /**
         * @param metadataName Name of the HybridIdentityMetadata.
         * 
         * @return builder
         * 
         */
        public Builder metadataName(String metadataName) {
            return metadataName(Output.of(metadataName));
        }

        /**
         * @param resourceGroupName The name of the resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param virtualMachineName Name of the vm.
         * 
         * @return builder
         * 
         */
        public Builder virtualMachineName(Output virtualMachineName) {
            $.virtualMachineName = virtualMachineName;
            return this;
        }

        /**
         * @param virtualMachineName Name of the vm.
         * 
         * @return builder
         * 
         */
        public Builder virtualMachineName(String virtualMachineName) {
            return virtualMachineName(Output.of(virtualMachineName));
        }

        public GetHybridIdentityMetadataArgs build() {
            if ($.metadataName == null) {
                throw new MissingRequiredPropertyException("GetHybridIdentityMetadataArgs", "metadataName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetHybridIdentityMetadataArgs", "resourceGroupName");
            }
            if ($.virtualMachineName == null) {
                throw new MissingRequiredPropertyException("GetHybridIdentityMetadataArgs", "virtualMachineName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy