Class WorkloadNetworkPortMirroringProperties
java.lang.Object
com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkPortMirroringProperties
NSX Port Mirroring Properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WorkloadNetworkPortMirroringProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the destination property: Destination VM Group.Get the direction property: Direction of port mirroring profile.Get the displayName property: Display name of the port mirroring profile.Get the provisioningState property: The provisioning state.revision()
Get the revision property: NSX revision number.source()
Get the source property: Source VM Group.status()
Get the status property: Port Mirroring Status.void
validate()
Validates the instance.withDestination
(String destination) Set the destination property: Destination VM Group.withDirection
(PortMirroringDirectionEnum direction) Set the direction property: Direction of port mirroring profile.withDisplayName
(String displayName) Set the displayName property: Display name of the port mirroring profile.withRevision
(Long revision) Set the revision property: NSX revision number.withSource
(String source) Set the source property: Source VM Group.
-
Constructor Details
-
WorkloadNetworkPortMirroringProperties
public WorkloadNetworkPortMirroringProperties()Creates an instance of WorkloadNetworkPortMirroringProperties class.
-
-
Method Details
-
displayName
Get the displayName property: Display name of the port mirroring profile.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Display name of the port mirroring profile.- Parameters:
displayName
- the displayName value to set.- Returns:
- the WorkloadNetworkPortMirroringProperties object itself.
-
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 WorkloadNetworkPortMirroringProperties object itself.
-
source
Get the source property: Source VM Group.- Returns:
- the source value.
-
withSource
Set the source property: Source VM Group.- Parameters:
source
- the source value to set.- Returns:
- the WorkloadNetworkPortMirroringProperties object itself.
-
destination
Get the destination property: Destination VM Group.- Returns:
- the destination value.
-
withDestination
Set the destination property: Destination VM Group.- Parameters:
destination
- the destination value to set.- Returns:
- the WorkloadNetworkPortMirroringProperties object itself.
-
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
Get the revision property: NSX revision number.- Returns:
- the revision value.
-
withRevision
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.
-