Class GuestInfo.Builder

  • Enclosing class:
    GuestInfo

    public static final class GuestInfo.Builder
    extends java.lang.Object
    Builder class for GuestInfo.
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()
      Constructor with parameters for the required properties of GuestInfo.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of GuestInfo.
    • Method Detail

      • setComputerName

        public GuestInfo.Builder setComputerName​(java.lang.String computerName)
        Computer name of guest virtual machine, which is set inside guest OS. Currently this is supported for guests on ESXi that have VMware Tools installed. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        computerName - New value for the property.
      • setOsName

        public GuestInfo.Builder setOsName​(java.lang.String osName)
        OS name of guest virtual machine. Currently this is supported for guests on ESXi that have VMware Tools installed. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        osName - New value for the property.