Class WorkloadNetworkPortMirroringInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkPortMirroringInner

public final class WorkloadNetworkPortMirroringInner extends com.azure.core.management.ProxyResource
NSX Port Mirroring.
  • Constructor Details

    • WorkloadNetworkPortMirroringInner

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

    • displayName

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

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

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

      Set the direction property: Direction of port mirroring profile.
      Parameters:
      direction - the direction value to set.
      Returns:
      the WorkloadNetworkPortMirroringInner object itself.
    • source

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

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

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

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

      public PortMirroringStatusEnum status()
      Get the status property: Port Mirroring Status.
      Returns:
      the status value.
    • 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 WorkloadNetworkPortMirroringInner withRevision(Long revision)
      Set the revision property: NSX revision number.
      Parameters:
      revision - the revision value to set.
      Returns:
      the WorkloadNetworkPortMirroringInner object itself.
    • validate

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