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

com.pulumi.azurenative.machinelearningservices.inputs.ManagedOnlineEndpointDeploymentResourcePropertiesArgs 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.machinelearningservices.inputs;

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


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

    public static final ManagedOnlineEndpointDeploymentResourcePropertiesArgs Empty = new ManagedOnlineEndpointDeploymentResourcePropertiesArgs();

    /**
     * The failure reason if the creation failed.
     * 
     */
    @Import(name="failureReason")
    private @Nullable Output failureReason;

    /**
     * @return The failure reason if the creation failed.
     * 
     */
    public Optional> failureReason() {
        return Optional.ofNullable(this.failureReason);
    }

    /**
     * Kind of the deployment.
     * Expected value is 'managedOnlineEndpoint'.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return Kind of the deployment.
     * Expected value is 'managedOnlineEndpoint'.
     * 
     */
    public Output type() {
        return this.type;
    }

    private ManagedOnlineEndpointDeploymentResourcePropertiesArgs() {}

    private ManagedOnlineEndpointDeploymentResourcePropertiesArgs(ManagedOnlineEndpointDeploymentResourcePropertiesArgs $) {
        this.failureReason = $.failureReason;
        this.type = $.type;
    }

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

    public static final class Builder {
        private ManagedOnlineEndpointDeploymentResourcePropertiesArgs $;

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

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

        /**
         * @param failureReason The failure reason if the creation failed.
         * 
         * @return builder
         * 
         */
        public Builder failureReason(@Nullable Output failureReason) {
            $.failureReason = failureReason;
            return this;
        }

        /**
         * @param failureReason The failure reason if the creation failed.
         * 
         * @return builder
         * 
         */
        public Builder failureReason(String failureReason) {
            return failureReason(Output.of(failureReason));
        }

        /**
         * @param type Kind of the deployment.
         * Expected value is 'managedOnlineEndpoint'.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Kind of the deployment.
         * Expected value is 'managedOnlineEndpoint'.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public ManagedOnlineEndpointDeploymentResourcePropertiesArgs build() {
            $.type = Codegen.stringProp("type").output().arg($.type).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy