Class VirtualMachineSchemaProperties


  • public final class VirtualMachineSchemaProperties
    extends Object
    The VirtualMachineSchemaProperties model.
    • Constructor Detail

      • VirtualMachineSchemaProperties

        public VirtualMachineSchemaProperties()
    • Method Detail

      • virtualMachineSize

        public String virtualMachineSize()
        Get the virtualMachineSize property: Virtual Machine size.
        Returns:
        the virtualMachineSize value.
      • withVirtualMachineSize

        public VirtualMachineSchemaProperties withVirtualMachineSize​(String virtualMachineSize)
        Set the virtualMachineSize property: Virtual Machine size.
        Parameters:
        virtualMachineSize - the virtualMachineSize value to set.
        Returns:
        the VirtualMachineSchemaProperties object itself.
      • sshPort

        public Integer sshPort()
        Get the sshPort property: Port open for ssh connections.
        Returns:
        the sshPort value.
      • withSshPort

        public VirtualMachineSchemaProperties withSshPort​(Integer sshPort)
        Set the sshPort property: Port open for ssh connections.
        Parameters:
        sshPort - the sshPort value to set.
        Returns:
        the VirtualMachineSchemaProperties object itself.
      • notebookServerPort

        public Integer notebookServerPort()
        Get the notebookServerPort property: Notebook server port open for ssh connections.
        Returns:
        the notebookServerPort value.
      • withNotebookServerPort

        public VirtualMachineSchemaProperties withNotebookServerPort​(Integer notebookServerPort)
        Set the notebookServerPort property: Notebook server port open for ssh connections.
        Parameters:
        notebookServerPort - the notebookServerPort value to set.
        Returns:
        the VirtualMachineSchemaProperties object itself.
      • address

        public String address()
        Get the address property: Public IP address of the virtual machine.
        Returns:
        the address value.
      • withAddress

        public VirtualMachineSchemaProperties withAddress​(String address)
        Set the address property: Public IP address of the virtual machine.
        Parameters:
        address - the address value to set.
        Returns:
        the VirtualMachineSchemaProperties object itself.
      • administratorAccount

        public VirtualMachineSshCredentials administratorAccount()
        Get the administratorAccount property: Admin credentials for virtual machine.
        Returns:
        the administratorAccount value.
      • withAdministratorAccount

        public VirtualMachineSchemaProperties withAdministratorAccount​(VirtualMachineSshCredentials administratorAccount)
        Set the administratorAccount property: Admin credentials for virtual machine.
        Parameters:
        administratorAccount - the administratorAccount value to set.
        Returns:
        the VirtualMachineSchemaProperties object itself.
      • isNotebookInstanceCompute

        public Boolean isNotebookInstanceCompute()
        Get the isNotebookInstanceCompute property: Indicates whether this compute will be used for running notebooks.
        Returns:
        the isNotebookInstanceCompute value.
      • withIsNotebookInstanceCompute

        public VirtualMachineSchemaProperties withIsNotebookInstanceCompute​(Boolean isNotebookInstanceCompute)
        Set the isNotebookInstanceCompute property: Indicates whether this compute will be used for running notebooks.
        Parameters:
        isNotebookInstanceCompute - the isNotebookInstanceCompute value to set.
        Returns:
        the VirtualMachineSchemaProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.