Class WorkloadNetworkVMGroupProperties

java.lang.Object
com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkVMGroupProperties

public final class WorkloadNetworkVMGroupProperties extends Object
NSX VM Group Properties.
  • Constructor Details

    • WorkloadNetworkVMGroupProperties

      public WorkloadNetworkVMGroupProperties()
      Creates an instance of WorkloadNetworkVMGroupProperties class.
  • Method Details

    • 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.