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

com.pulumi.azurenative.quantum.inputs.ProviderArgs 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.quantum.inputs;

import com.pulumi.azurenative.quantum.enums.Status;
import com.pulumi.core.Either;
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;


/**
 * Information about a Provider. A Provider is an entity that offers Targets to run Azure Quantum Jobs.
 * 
 */
public final class ProviderArgs extends com.pulumi.resources.ResourceArgs {

    public static final ProviderArgs Empty = new ProviderArgs();

    /**
     * The provider's marketplace application display name.
     * 
     */
    @Import(name="applicationName")
    private @Nullable Output applicationName;

    /**
     * @return The provider's marketplace application display name.
     * 
     */
    public Optional> applicationName() {
        return Optional.ofNullable(this.applicationName);
    }

    /**
     * A Uri identifying the specific instance of this provider.
     * 
     */
    @Import(name="instanceUri")
    private @Nullable Output instanceUri;

    /**
     * @return A Uri identifying the specific instance of this provider.
     * 
     */
    public Optional> instanceUri() {
        return Optional.ofNullable(this.instanceUri);
    }

    /**
     * Unique id of this provider.
     * 
     */
    @Import(name="providerId")
    private @Nullable Output providerId;

    /**
     * @return Unique id of this provider.
     * 
     */
    public Optional> providerId() {
        return Optional.ofNullable(this.providerId);
    }

    /**
     * The sku associated with pricing information for this provider.
     * 
     */
    @Import(name="providerSku")
    private @Nullable Output providerSku;

    /**
     * @return The sku associated with pricing information for this provider.
     * 
     */
    public Optional> providerSku() {
        return Optional.ofNullable(this.providerSku);
    }

    /**
     * Provisioning status field
     * 
     */
    @Import(name="provisioningState")
    private @Nullable Output> provisioningState;

    /**
     * @return Provisioning status field
     * 
     */
    public Optional>> provisioningState() {
        return Optional.ofNullable(this.provisioningState);
    }

    /**
     * Id to track resource usage for the provider.
     * 
     */
    @Import(name="resourceUsageId")
    private @Nullable Output resourceUsageId;

    /**
     * @return Id to track resource usage for the provider.
     * 
     */
    public Optional> resourceUsageId() {
        return Optional.ofNullable(this.resourceUsageId);
    }

    private ProviderArgs() {}

    private ProviderArgs(ProviderArgs $) {
        this.applicationName = $.applicationName;
        this.instanceUri = $.instanceUri;
        this.providerId = $.providerId;
        this.providerSku = $.providerSku;
        this.provisioningState = $.provisioningState;
        this.resourceUsageId = $.resourceUsageId;
    }

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

    public static final class Builder {
        private ProviderArgs $;

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

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

        /**
         * @param applicationName The provider's marketplace application display name.
         * 
         * @return builder
         * 
         */
        public Builder applicationName(@Nullable Output applicationName) {
            $.applicationName = applicationName;
            return this;
        }

        /**
         * @param applicationName The provider's marketplace application display name.
         * 
         * @return builder
         * 
         */
        public Builder applicationName(String applicationName) {
            return applicationName(Output.of(applicationName));
        }

        /**
         * @param instanceUri A Uri identifying the specific instance of this provider.
         * 
         * @return builder
         * 
         */
        public Builder instanceUri(@Nullable Output instanceUri) {
            $.instanceUri = instanceUri;
            return this;
        }

        /**
         * @param instanceUri A Uri identifying the specific instance of this provider.
         * 
         * @return builder
         * 
         */
        public Builder instanceUri(String instanceUri) {
            return instanceUri(Output.of(instanceUri));
        }

        /**
         * @param providerId Unique id of this provider.
         * 
         * @return builder
         * 
         */
        public Builder providerId(@Nullable Output providerId) {
            $.providerId = providerId;
            return this;
        }

        /**
         * @param providerId Unique id of this provider.
         * 
         * @return builder
         * 
         */
        public Builder providerId(String providerId) {
            return providerId(Output.of(providerId));
        }

        /**
         * @param providerSku The sku associated with pricing information for this provider.
         * 
         * @return builder
         * 
         */
        public Builder providerSku(@Nullable Output providerSku) {
            $.providerSku = providerSku;
            return this;
        }

        /**
         * @param providerSku The sku associated with pricing information for this provider.
         * 
         * @return builder
         * 
         */
        public Builder providerSku(String providerSku) {
            return providerSku(Output.of(providerSku));
        }

        /**
         * @param provisioningState Provisioning status field
         * 
         * @return builder
         * 
         */
        public Builder provisioningState(@Nullable Output> provisioningState) {
            $.provisioningState = provisioningState;
            return this;
        }

        /**
         * @param provisioningState Provisioning status field
         * 
         * @return builder
         * 
         */
        public Builder provisioningState(Either provisioningState) {
            return provisioningState(Output.of(provisioningState));
        }

        /**
         * @param provisioningState Provisioning status field
         * 
         * @return builder
         * 
         */
        public Builder provisioningState(String provisioningState) {
            return provisioningState(Either.ofLeft(provisioningState));
        }

        /**
         * @param provisioningState Provisioning status field
         * 
         * @return builder
         * 
         */
        public Builder provisioningState(Status provisioningState) {
            return provisioningState(Either.ofRight(provisioningState));
        }

        /**
         * @param resourceUsageId Id to track resource usage for the provider.
         * 
         * @return builder
         * 
         */
        public Builder resourceUsageId(@Nullable Output resourceUsageId) {
            $.resourceUsageId = resourceUsageId;
            return this;
        }

        /**
         * @param resourceUsageId Id to track resource usage for the provider.
         * 
         * @return builder
         * 
         */
        public Builder resourceUsageId(String resourceUsageId) {
            return resourceUsageId(Output.of(resourceUsageId));
        }

        public ProviderArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy