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

com.pulumi.azurenative.managedservices.inputs.GetRegistrationDefinitionArgs Maven / Gradle / Ivy

The 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.managedservices.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 GetRegistrationDefinitionArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetRegistrationDefinitionArgs Empty = new GetRegistrationDefinitionArgs();

    /**
     * The GUID of the registration definition.
     * 
     */
    @Import(name="registrationDefinitionId", required=true)
    private Output registrationDefinitionId;

    /**
     * @return The GUID of the registration definition.
     * 
     */
    public Output registrationDefinitionId() {
        return this.registrationDefinitionId;
    }

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

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

    private GetRegistrationDefinitionArgs() {}

    private GetRegistrationDefinitionArgs(GetRegistrationDefinitionArgs $) {
        this.registrationDefinitionId = $.registrationDefinitionId;
        this.scope = $.scope;
    }

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

    public static final class Builder {
        private GetRegistrationDefinitionArgs $;

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

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

        /**
         * @param registrationDefinitionId The GUID of the registration definition.
         * 
         * @return builder
         * 
         */
        public Builder registrationDefinitionId(Output registrationDefinitionId) {
            $.registrationDefinitionId = registrationDefinitionId;
            return this;
        }

        /**
         * @param registrationDefinitionId The GUID of the registration definition.
         * 
         * @return builder
         * 
         */
        public Builder registrationDefinitionId(String registrationDefinitionId) {
            return registrationDefinitionId(Output.of(registrationDefinitionId));
        }

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

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

        public GetRegistrationDefinitionArgs build() {
            if ($.registrationDefinitionId == null) {
                throw new MissingRequiredPropertyException("GetRegistrationDefinitionArgs", "registrationDefinitionId");
            }
            if ($.scope == null) {
                throw new MissingRequiredPropertyException("GetRegistrationDefinitionArgs", "scope");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy