Package com.vmware.nsx_policy.model
Class GuestInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.GuestInfo.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GuestInfo
build()
GuestInfo.Builder
setComputerName(java.lang.String computerName)
Computer name of guest virtual machine, which is set inside guest OS.GuestInfo.Builder
setOsName(java.lang.String osName)
OS name of guest virtual machine.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofGuestInfo
.
-
-
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.
-
build
public GuestInfo build()
-
-