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

com.pulumi.azurenative.providerhub.ProviderRegistrationArgs 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.providerhub;

import com.pulumi.azurenative.providerhub.inputs.ProviderRegistrationPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ProviderRegistrationArgs extends com.pulumi.resources.ResourceArgs {

    public static final ProviderRegistrationArgs Empty = new ProviderRegistrationArgs();

    @Import(name="properties")
    private @Nullable Output properties;

    public Optional> properties() {
        return Optional.ofNullable(this.properties);
    }

    /**
     * The name of the resource provider hosted within ProviderHub.
     * 
     */
    @Import(name="providerNamespace")
    private @Nullable Output providerNamespace;

    /**
     * @return The name of the resource provider hosted within ProviderHub.
     * 
     */
    public Optional> providerNamespace() {
        return Optional.ofNullable(this.providerNamespace);
    }

    private ProviderRegistrationArgs() {}

    private ProviderRegistrationArgs(ProviderRegistrationArgs $) {
        this.properties = $.properties;
        this.providerNamespace = $.providerNamespace;
    }

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

    public static final class Builder {
        private ProviderRegistrationArgs $;

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

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

        public Builder properties(@Nullable Output properties) {
            $.properties = properties;
            return this;
        }

        public Builder properties(ProviderRegistrationPropertiesArgs properties) {
            return properties(Output.of(properties));
        }

        /**
         * @param providerNamespace The name of the resource provider hosted within ProviderHub.
         * 
         * @return builder
         * 
         */
        public Builder providerNamespace(@Nullable Output providerNamespace) {
            $.providerNamespace = providerNamespace;
            return this;
        }

        /**
         * @param providerNamespace The name of the resource provider hosted within ProviderHub.
         * 
         * @return builder
         * 
         */
        public Builder providerNamespace(String providerNamespace) {
            return providerNamespace(Output.of(providerNamespace));
        }

        public ProviderRegistrationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy