
com.pulumi.azurenative.machinelearningservices.outputs.VirtualMachineSchemaResponseProperties 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.azurenative.machinelearningservices.outputs.VirtualMachineSshCredentialsResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class VirtualMachineSchemaResponseProperties {
/**
* @return Public IP address of the virtual machine.
*
*/
private @Nullable String address;
/**
* @return Admin credentials for virtual machine
*
*/
private @Nullable VirtualMachineSshCredentialsResponse administratorAccount;
/**
* @return Indicates whether this compute will be used for running notebooks.
*
*/
private @Nullable Boolean isNotebookInstanceCompute;
/**
* @return Notebook server port open for ssh connections.
*
*/
private @Nullable Integer notebookServerPort;
/**
* @return Port open for ssh connections.
*
*/
private @Nullable Integer sshPort;
/**
* @return Virtual Machine size
*
*/
private @Nullable String virtualMachineSize;
private VirtualMachineSchemaResponseProperties() {}
/**
* @return Public IP address of the virtual machine.
*
*/
public Optional address() {
return Optional.ofNullable(this.address);
}
/**
* @return Admin credentials for virtual machine
*
*/
public Optional administratorAccount() {
return Optional.ofNullable(this.administratorAccount);
}
/**
* @return Indicates whether this compute will be used for running notebooks.
*
*/
public Optional isNotebookInstanceCompute() {
return Optional.ofNullable(this.isNotebookInstanceCompute);
}
/**
* @return Notebook server port open for ssh connections.
*
*/
public Optional notebookServerPort() {
return Optional.ofNullable(this.notebookServerPort);
}
/**
* @return Port open for ssh connections.
*
*/
public Optional sshPort() {
return Optional.ofNullable(this.sshPort);
}
/**
* @return Virtual Machine size
*
*/
public Optional virtualMachineSize() {
return Optional.ofNullable(this.virtualMachineSize);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VirtualMachineSchemaResponseProperties defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String address;
private @Nullable VirtualMachineSshCredentialsResponse administratorAccount;
private @Nullable Boolean isNotebookInstanceCompute;
private @Nullable Integer notebookServerPort;
private @Nullable Integer sshPort;
private @Nullable String virtualMachineSize;
public Builder() {}
public Builder(VirtualMachineSchemaResponseProperties defaults) {
Objects.requireNonNull(defaults);
this.address = defaults.address;
this.administratorAccount = defaults.administratorAccount;
this.isNotebookInstanceCompute = defaults.isNotebookInstanceCompute;
this.notebookServerPort = defaults.notebookServerPort;
this.sshPort = defaults.sshPort;
this.virtualMachineSize = defaults.virtualMachineSize;
}
@CustomType.Setter
public Builder address(@Nullable String address) {
this.address = address;
return this;
}
@CustomType.Setter
public Builder administratorAccount(@Nullable VirtualMachineSshCredentialsResponse administratorAccount) {
this.administratorAccount = administratorAccount;
return this;
}
@CustomType.Setter
public Builder isNotebookInstanceCompute(@Nullable Boolean isNotebookInstanceCompute) {
this.isNotebookInstanceCompute = isNotebookInstanceCompute;
return this;
}
@CustomType.Setter
public Builder notebookServerPort(@Nullable Integer notebookServerPort) {
this.notebookServerPort = notebookServerPort;
return this;
}
@CustomType.Setter
public Builder sshPort(@Nullable Integer sshPort) {
this.sshPort = sshPort;
return this;
}
@CustomType.Setter
public Builder virtualMachineSize(@Nullable String virtualMachineSize) {
this.virtualMachineSize = virtualMachineSize;
return this;
}
public VirtualMachineSchemaResponseProperties build() {
final var _resultValue = new VirtualMachineSchemaResponseProperties();
_resultValue.address = address;
_resultValue.administratorAccount = administratorAccount;
_resultValue.isNotebookInstanceCompute = isNotebookInstanceCompute;
_resultValue.notebookServerPort = notebookServerPort;
_resultValue.sshPort = sshPort;
_resultValue.virtualMachineSize = virtualMachineSize;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy