Class WorkloadNetworkVMGroupProperties
- java.lang.Object
-
- com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkVMGroupProperties
-
public final class WorkloadNetworkVMGroupProperties extends Object
NSX VM Group Properties.
-
-
Constructor Summary
Constructors Constructor Description WorkloadNetworkVMGroupProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
displayName()
Get the displayName property: Display name of the VM group.List<String>
members()
Get the members property: Virtual machine members of this group.WorkloadNetworkVMGroupProvisioningState
provisioningState()
Get the provisioningState property: The provisioning state.Long
revision()
Get the revision property: NSX revision number.VMGroupStatusEnum
status()
Get the status property: VM Group status.void
validate()
Validates the instance.WorkloadNetworkVMGroupProperties
withDisplayName(String displayName)
Set the displayName property: Display name of the VM group.WorkloadNetworkVMGroupProperties
withMembers(List<String> members)
Set the members property: Virtual machine members of this group.WorkloadNetworkVMGroupProperties
withRevision(Long revision)
Set the revision property: NSX revision number.
-
-
-
Method Detail
-
displayName
public String displayName()
Get the displayName property: Display name of the VM group.- Returns:
- the displayName value.
-
withDisplayName
public WorkloadNetworkVMGroupProperties withDisplayName(String displayName)
Set the displayName property: Display name of the VM group.- Parameters:
displayName
- the displayName value to set.- Returns:
- the WorkloadNetworkVMGroupProperties object itself.
-
members
public List<String> members()
Get the members property: Virtual machine members of this group.- Returns:
- the members value.
-
withMembers
public WorkloadNetworkVMGroupProperties withMembers(List<String> members)
Set the members property: Virtual machine members of this group.- Parameters:
members
- the members value to set.- Returns:
- the WorkloadNetworkVMGroupProperties object itself.
-
status
public VMGroupStatusEnum status()
Get the status property: VM Group status.- Returns:
- the status value.
-
provisioningState
public WorkloadNetworkVMGroupProvisioningState provisioningState()
Get the provisioningState property: The provisioning state.- Returns:
- the provisioningState value.
-
revision
public Long revision()
Get the revision property: NSX revision number.- Returns:
- the revision value.
-
withRevision
public WorkloadNetworkVMGroupProperties withRevision(Long revision)
Set the revision property: NSX revision number.- Parameters:
revision
- the revision value to set.- Returns:
- the WorkloadNetworkVMGroupProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-