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

com.pulumi.azurenative.managedservices.inputs.GetRegistrationAssignmentPlainArgs 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.managedservices.inputs;

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


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

    public static final GetRegistrationAssignmentPlainArgs Empty = new GetRegistrationAssignmentPlainArgs();

    /**
     * The flag indicating whether to return the registration definition details along with the registration assignment details.
     * 
     */
    @Import(name="expandRegistrationDefinition")
    private @Nullable Boolean expandRegistrationDefinition;

    /**
     * @return The flag indicating whether to return the registration definition details along with the registration assignment details.
     * 
     */
    public Optional expandRegistrationDefinition() {
        return Optional.ofNullable(this.expandRegistrationDefinition);
    }

    /**
     * The GUID of the registration assignment.
     * 
     */
    @Import(name="registrationAssignmentId", required=true)
    private String registrationAssignmentId;

    /**
     * @return The GUID of the registration assignment.
     * 
     */
    public String registrationAssignmentId() {
        return this.registrationAssignmentId;
    }

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

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

    private GetRegistrationAssignmentPlainArgs() {}

    private GetRegistrationAssignmentPlainArgs(GetRegistrationAssignmentPlainArgs $) {
        this.expandRegistrationDefinition = $.expandRegistrationDefinition;
        this.registrationAssignmentId = $.registrationAssignmentId;
        this.scope = $.scope;
    }

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

    public static final class Builder {
        private GetRegistrationAssignmentPlainArgs $;

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

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

        /**
         * @param expandRegistrationDefinition The flag indicating whether to return the registration definition details along with the registration assignment details.
         * 
         * @return builder
         * 
         */
        public Builder expandRegistrationDefinition(@Nullable Boolean expandRegistrationDefinition) {
            $.expandRegistrationDefinition = expandRegistrationDefinition;
            return this;
        }

        /**
         * @param registrationAssignmentId The GUID of the registration assignment.
         * 
         * @return builder
         * 
         */
        public Builder registrationAssignmentId(String registrationAssignmentId) {
            $.registrationAssignmentId = registrationAssignmentId;
            return this;
        }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy