Class WorkloadNetworkPortMirroringProperties


  • public final class WorkloadNetworkPortMirroringProperties
    extends Object
    NSX Port Mirroring Properties.
    • Constructor Detail

      • WorkloadNetworkPortMirroringProperties

        public WorkloadNetworkPortMirroringProperties()
    • Method Detail

      • displayName

        public String displayName()
        Get the displayName property: Display name of the port mirroring profile.
        Returns:
        the displayName value.
      • withDisplayName

        public WorkloadNetworkPortMirroringProperties withDisplayName​(String displayName)
        Set the displayName property: Display name of the port mirroring profile.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the WorkloadNetworkPortMirroringProperties object itself.
      • direction

        public PortMirroringDirectionEnum direction()
        Get the direction property: Direction of port mirroring profile.
        Returns:
        the direction value.
      • source

        public String source()
        Get the source property: Source VM Group.
        Returns:
        the source value.
      • withSource

        public WorkloadNetworkPortMirroringProperties withSource​(String source)
        Set the source property: Source VM Group.
        Parameters:
        source - the source value to set.
        Returns:
        the WorkloadNetworkPortMirroringProperties object itself.
      • destination

        public String destination()
        Get the destination property: Destination VM Group.
        Returns:
        the destination value.
      • withDestination

        public WorkloadNetworkPortMirroringProperties withDestination​(String destination)
        Set the destination property: Destination VM Group.
        Parameters:
        destination - the destination value to set.
        Returns:
        the WorkloadNetworkPortMirroringProperties object itself.
      • status

        public PortMirroringStatusEnum status()
        Get the status property: Port Mirroring Status.
        Returns:
        the status value.
      • revision

        public Long revision()
        Get the revision property: NSX revision number.
        Returns:
        the revision value.
      • withRevision

        public WorkloadNetworkPortMirroringProperties withRevision​(Long revision)
        Set the revision property: NSX revision number.
        Parameters:
        revision - the revision value to set.
        Returns:
        the WorkloadNetworkPortMirroringProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.