com.pulumi.azurenative.machinelearningservices.outputs.DeploymentResourceConfigurationResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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 java.lang.Integer;
import java.lang.Object;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DeploymentResourceConfigurationResponse {
/**
* @return Optional number of instances or nodes used by the compute target.
*
*/
private @Nullable Integer instanceCount;
/**
* @return Optional type of VM used as supported by the compute target.
*
*/
private @Nullable String instanceType;
/**
* @return Additional properties bag.
*
*/
private @Nullable Map properties;
private DeploymentResourceConfigurationResponse() {}
/**
* @return Optional number of instances or nodes used by the compute target.
*
*/
public Optional instanceCount() {
return Optional.ofNullable(this.instanceCount);
}
/**
* @return Optional type of VM used as supported by the compute target.
*
*/
public Optional instanceType() {
return Optional.ofNullable(this.instanceType);
}
/**
* @return Additional properties bag.
*
*/
public Map properties() {
return this.properties == null ? Map.of() : this.properties;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DeploymentResourceConfigurationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer instanceCount;
private @Nullable String instanceType;
private @Nullable Map properties;
public Builder() {}
public Builder(DeploymentResourceConfigurationResponse defaults) {
Objects.requireNonNull(defaults);
this.instanceCount = defaults.instanceCount;
this.instanceType = defaults.instanceType;
this.properties = defaults.properties;
}
@CustomType.Setter
public Builder instanceCount(@Nullable Integer instanceCount) {
this.instanceCount = instanceCount;
return this;
}
@CustomType.Setter
public Builder instanceType(@Nullable String instanceType) {
this.instanceType = instanceType;
return this;
}
@CustomType.Setter
public Builder properties(@Nullable Map properties) {
this.properties = properties;
return this;
}
public DeploymentResourceConfigurationResponse build() {
final var _resultValue = new DeploymentResourceConfigurationResponse();
_resultValue.instanceCount = instanceCount;
_resultValue.instanceType = instanceType;
_resultValue.properties = properties;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy