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

com.pulumi.azurenative.machinelearningservices.outputs.InferenceEndpointResponse Maven / Gradle / Ivy

There is a newer version: 2.82.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.machinelearningservices.outputs;

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

@CustomType
public final class InferenceEndpointResponse {
    /**
     * @return [Required] Authentication mode for the endpoint.
     * 
     */
    private String authMode;
    /**
     * @return Description of the resource.
     * 
     */
    private @Nullable String description;
    /**
     * @return Endpoint URI for the inference endpoint.
     * 
     */
    private String endpointUri;
    /**
     * @return [Required] Group within the same pool with which this endpoint needs to be associated with.
     * 
     */
    private String groupId;
    /**
     * @return Property dictionary. Properties can be added, but not removed or altered.
     * 
     */
    private @Nullable Map properties;
    /**
     * @return Provisioning state for the endpoint.
     * 
     */
    private String provisioningState;

    private InferenceEndpointResponse() {}
    /**
     * @return [Required] Authentication mode for the endpoint.
     * 
     */
    public String authMode() {
        return this.authMode;
    }
    /**
     * @return Description of the resource.
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return Endpoint URI for the inference endpoint.
     * 
     */
    public String endpointUri() {
        return this.endpointUri;
    }
    /**
     * @return [Required] Group within the same pool with which this endpoint needs to be associated with.
     * 
     */
    public String groupId() {
        return this.groupId;
    }
    /**
     * @return Property dictionary. Properties can be added, but not removed or altered.
     * 
     */
    public Map properties() {
        return this.properties == null ? Map.of() : this.properties;
    }
    /**
     * @return Provisioning state for the endpoint.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }

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

    public static Builder builder(InferenceEndpointResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String authMode;
        private @Nullable String description;
        private String endpointUri;
        private String groupId;
        private @Nullable Map properties;
        private String provisioningState;
        public Builder() {}
        public Builder(InferenceEndpointResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.authMode = defaults.authMode;
    	      this.description = defaults.description;
    	      this.endpointUri = defaults.endpointUri;
    	      this.groupId = defaults.groupId;
    	      this.properties = defaults.properties;
    	      this.provisioningState = defaults.provisioningState;
        }

        @CustomType.Setter
        public Builder authMode(String authMode) {
            if (authMode == null) {
              throw new MissingRequiredPropertyException("InferenceEndpointResponse", "authMode");
            }
            this.authMode = authMode;
            return this;
        }
        @CustomType.Setter
        public Builder description(@Nullable String description) {

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder endpointUri(String endpointUri) {
            if (endpointUri == null) {
              throw new MissingRequiredPropertyException("InferenceEndpointResponse", "endpointUri");
            }
            this.endpointUri = endpointUri;
            return this;
        }
        @CustomType.Setter
        public Builder groupId(String groupId) {
            if (groupId == null) {
              throw new MissingRequiredPropertyException("InferenceEndpointResponse", "groupId");
            }
            this.groupId = groupId;
            return this;
        }
        @CustomType.Setter
        public Builder properties(@Nullable Map properties) {

            this.properties = properties;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("InferenceEndpointResponse", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        public InferenceEndpointResponse build() {
            final var _resultValue = new InferenceEndpointResponse();
            _resultValue.authMode = authMode;
            _resultValue.description = description;
            _resultValue.endpointUri = endpointUri;
            _resultValue.groupId = groupId;
            _resultValue.properties = properties;
            _resultValue.provisioningState = provisioningState;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy