
com.pulumi.azurenative.machinelearningservices.outputs.ManagedOnlineEndpointDeploymentResourcePropertiesResponse 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ManagedOnlineEndpointDeploymentResourcePropertiesResponse {
/**
* @return The failure reason if the creation failed.
*
*/
private @Nullable String failureReason;
/**
* @return Read-only provision state status property.
*
*/
private String provisioningState;
/**
* @return Kind of the deployment.
* Expected value is 'managedOnlineEndpoint'.
*
*/
private String type;
private ManagedOnlineEndpointDeploymentResourcePropertiesResponse() {}
/**
* @return The failure reason if the creation failed.
*
*/
public Optional failureReason() {
return Optional.ofNullable(this.failureReason);
}
/**
* @return Read-only provision state status property.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Kind of the deployment.
* Expected value is 'managedOnlineEndpoint'.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ManagedOnlineEndpointDeploymentResourcePropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String failureReason;
private String provisioningState;
private String type;
public Builder() {}
public Builder(ManagedOnlineEndpointDeploymentResourcePropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.failureReason = defaults.failureReason;
this.provisioningState = defaults.provisioningState;
this.type = defaults.type;
}
@CustomType.Setter
public Builder failureReason(@Nullable String failureReason) {
this.failureReason = failureReason;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("ManagedOnlineEndpointDeploymentResourcePropertiesResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("ManagedOnlineEndpointDeploymentResourcePropertiesResponse", "type");
}
this.type = type;
return this;
}
public ManagedOnlineEndpointDeploymentResourcePropertiesResponse build() {
final var _resultValue = new ManagedOnlineEndpointDeploymentResourcePropertiesResponse();
_resultValue.failureReason = failureReason;
_resultValue.provisioningState = provisioningState;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy