Interface VmServer.Builder

All Superinterfaces:
Buildable, CopyableBuilder<VmServer.Builder,VmServer>, SdkBuilder<VmServer.Builder,VmServer>, SdkPojo
Enclosing class:
VmServer

public static interface VmServer.Builder extends SdkPojo, CopyableBuilder<VmServer.Builder,VmServer>
  • Method Details

    • vmServerAddress

      VmServer.Builder vmServerAddress(VmServerAddress vmServerAddress)

      The VM server location.

      Parameters:
      vmServerAddress - The VM server location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vmServerAddress

      default VmServer.Builder vmServerAddress(Consumer<VmServerAddress.Builder> vmServerAddress)

      The VM server location.

      This is a convenience method that creates an instance of the VmServerAddress.Builder avoiding the need to create one manually via VmServerAddress.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to vmServerAddress(VmServerAddress).

      Parameters:
      vmServerAddress - a consumer that will call methods on VmServerAddress.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • vmName

      VmServer.Builder vmName(String vmName)

      The name of the VM.

      Parameters:
      vmName - The name of the VM.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vmManagerName

      VmServer.Builder vmManagerName(String vmManagerName)

      The name of the VM manager.

      Parameters:
      vmManagerName - The name of the VM manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vmManagerType

      VmServer.Builder vmManagerType(String vmManagerType)

      The type of VM management product.

      Parameters:
      vmManagerType - The type of VM management product.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • vmManagerType

      VmServer.Builder vmManagerType(VmManagerType vmManagerType)

      The type of VM management product.

      Parameters:
      vmManagerType - The type of VM management product.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • vmPath

      VmServer.Builder vmPath(String vmPath)

      The VM folder path in the vCenter Server virtual machine inventory tree.

      Parameters:
      vmPath - The VM folder path in the vCenter Server virtual machine inventory tree.
      Returns:
      Returns a reference to this object so that method calls can be chained together.