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

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


/**
 * The properties of the registration assignment.
 * 
 */
public final class RegistrationAssignmentPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final RegistrationAssignmentPropertiesArgs Empty = new RegistrationAssignmentPropertiesArgs();

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

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

    private RegistrationAssignmentPropertiesArgs() {}

    private RegistrationAssignmentPropertiesArgs(RegistrationAssignmentPropertiesArgs $) {
        this.registrationDefinitionId = $.registrationDefinitionId;
    }

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

    public static final class Builder {
        private RegistrationAssignmentPropertiesArgs $;

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

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

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy