Class WorkloadNetworkVirtualMachineInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkVirtualMachineInner
-
public final class WorkloadNetworkVirtualMachineInner extends com.azure.core.management.ProxyResource
NSX Virtual Machine.
-
-
Constructor Summary
Constructors Constructor Description WorkloadNetworkVirtualMachineInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
displayName()
Get the displayName property: Display name of the VM.void
validate()
Validates the instance.VMTypeEnum
vmType()
Get the vmType property: Virtual machine type.WorkloadNetworkVirtualMachineInner
withDisplayName(String displayName)
Set the displayName property: Display name of the VM.
-
-
-
Method Detail
-
displayName
public String displayName()
Get the displayName property: Display name of the VM.- Returns:
- the displayName value.
-
withDisplayName
public WorkloadNetworkVirtualMachineInner withDisplayName(String displayName)
Set the displayName property: Display name of the VM.- Parameters:
displayName
- the displayName value to set.- Returns:
- the WorkloadNetworkVirtualMachineInner object itself.
-
vmType
public VMTypeEnum vmType()
Get the vmType property: Virtual machine type.- Returns:
- the vmType value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-