Class VmHostPlacementPolicyProperties

    • Constructor Detail

      • VmHostPlacementPolicyProperties

        public VmHostPlacementPolicyProperties()
    • Method Detail

      • vmMembers

        public List<String> vmMembers()
        Get the vmMembers property: Virtual machine members list.
        Returns:
        the vmMembers value.
      • withVmMembers

        public VmHostPlacementPolicyProperties withVmMembers​(List<String> vmMembers)
        Set the vmMembers property: Virtual machine members list.
        Parameters:
        vmMembers - the vmMembers value to set.
        Returns:
        the VmHostPlacementPolicyProperties object itself.
      • hostMembers

        public List<String> hostMembers()
        Get the hostMembers property: Host members list.
        Returns:
        the hostMembers value.
      • withHostMembers

        public VmHostPlacementPolicyProperties withHostMembers​(List<String> hostMembers)
        Set the hostMembers property: Host members list.
        Parameters:
        hostMembers - the hostMembers value to set.
        Returns:
        the VmHostPlacementPolicyProperties object itself.
      • affinityType

        public AffinityType affinityType()
        Get the affinityType property: placement policy affinity type.
        Returns:
        the affinityType value.
      • withAffinityType

        public VmHostPlacementPolicyProperties withAffinityType​(AffinityType affinityType)
        Set the affinityType property: placement policy affinity type.
        Parameters:
        affinityType - the affinityType value to set.
        Returns:
        the VmHostPlacementPolicyProperties object itself.