
com.pulumi.azurenative.machinelearningservices.outputs.ComputeInstanceConnectivityEndpointsResponse 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;
@CustomType
public final class ComputeInstanceConnectivityEndpointsResponse {
/**
* @return Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed).
*
*/
private String privateIpAddress;
/**
* @return Public IP Address of this ComputeInstance.
*
*/
private String publicIpAddress;
private ComputeInstanceConnectivityEndpointsResponse() {}
/**
* @return Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed).
*
*/
public String privateIpAddress() {
return this.privateIpAddress;
}
/**
* @return Public IP Address of this ComputeInstance.
*
*/
public String publicIpAddress() {
return this.publicIpAddress;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ComputeInstanceConnectivityEndpointsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String privateIpAddress;
private String publicIpAddress;
public Builder() {}
public Builder(ComputeInstanceConnectivityEndpointsResponse defaults) {
Objects.requireNonNull(defaults);
this.privateIpAddress = defaults.privateIpAddress;
this.publicIpAddress = defaults.publicIpAddress;
}
@CustomType.Setter
public Builder privateIpAddress(String privateIpAddress) {
if (privateIpAddress == null) {
throw new MissingRequiredPropertyException("ComputeInstanceConnectivityEndpointsResponse", "privateIpAddress");
}
this.privateIpAddress = privateIpAddress;
return this;
}
@CustomType.Setter
public Builder publicIpAddress(String publicIpAddress) {
if (publicIpAddress == null) {
throw new MissingRequiredPropertyException("ComputeInstanceConnectivityEndpointsResponse", "publicIpAddress");
}
this.publicIpAddress = publicIpAddress;
return this;
}
public ComputeInstanceConnectivityEndpointsResponse build() {
final var _resultValue = new ComputeInstanceConnectivityEndpointsResponse();
_resultValue.privateIpAddress = privateIpAddress;
_resultValue.publicIpAddress = publicIpAddress;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy