
com.pulumi.azurenative.machinelearningservices.outputs.DeploymentModelResponse 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.azurenative.machinelearningservices.outputs.CallRateLimitResponse;
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 DeploymentModelResponse {
/**
* @return The call rate limit Cognitive Services account.
*
*/
private CallRateLimitResponse callRateLimit;
/**
* @return Deployment model format.
*
*/
private @Nullable String format;
/**
* @return Deployment model name.
*
*/
private @Nullable String name;
/**
* @return Optional. Deployment model source ARM resource ID.
*
*/
private @Nullable String source;
/**
* @return Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
*
*/
private @Nullable String version;
private DeploymentModelResponse() {}
/**
* @return The call rate limit Cognitive Services account.
*
*/
public CallRateLimitResponse callRateLimit() {
return this.callRateLimit;
}
/**
* @return Deployment model format.
*
*/
public Optional format() {
return Optional.ofNullable(this.format);
}
/**
* @return Deployment model name.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return Optional. Deployment model source ARM resource ID.
*
*/
public Optional source() {
return Optional.ofNullable(this.source);
}
/**
* @return Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
*
*/
public Optional version() {
return Optional.ofNullable(this.version);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DeploymentModelResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private CallRateLimitResponse callRateLimit;
private @Nullable String format;
private @Nullable String name;
private @Nullable String source;
private @Nullable String version;
public Builder() {}
public Builder(DeploymentModelResponse defaults) {
Objects.requireNonNull(defaults);
this.callRateLimit = defaults.callRateLimit;
this.format = defaults.format;
this.name = defaults.name;
this.source = defaults.source;
this.version = defaults.version;
}
@CustomType.Setter
public Builder callRateLimit(CallRateLimitResponse callRateLimit) {
if (callRateLimit == null) {
throw new MissingRequiredPropertyException("DeploymentModelResponse", "callRateLimit");
}
this.callRateLimit = callRateLimit;
return this;
}
@CustomType.Setter
public Builder format(@Nullable String format) {
this.format = format;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder source(@Nullable String source) {
this.source = source;
return this;
}
@CustomType.Setter
public Builder version(@Nullable String version) {
this.version = version;
return this;
}
public DeploymentModelResponse build() {
final var _resultValue = new DeploymentModelResponse();
_resultValue.callRateLimit = callRateLimit;
_resultValue.format = format;
_resultValue.name = name;
_resultValue.source = source;
_resultValue.version = version;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy