ProcessNameFilter Class

  • java.lang.Object
    • com.azure.resourcemanager.dependencymap.models.ProcessNameFilter

Implements

public final class ProcessNameFilter
implements JsonSerializable<ProcessNameFilter>

Process name filter for dependency map visualization apis.

Constructor Summary

Constructor Description
ProcessNameFilter()

Creates an instance of ProcessNameFilter class.

Method Summary

Modifier and Type Method and Description
static ProcessNameFilter fromJson(JsonReader jsonReader)

Reads an instance of ProcessNameFilter from the JsonReader.

ProcessNameFilterOperator operator()

Get the operator property: Operator for process name filter.

List<String> processNames()

Get the processNames property: List of process names on which the operator should be applied.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ProcessNameFilter withOperator(ProcessNameFilterOperator operator)

Set the operator property: Operator for process name filter.

ProcessNameFilter withProcessNames(List<String> processNames)

Set the processNames property: List of process names on which the operator should be applied.

Methods inherited from java.lang.Object

Constructor Details

ProcessNameFilter

public ProcessNameFilter()

Creates an instance of ProcessNameFilter class.

Method Details

fromJson

public static ProcessNameFilter fromJson(JsonReader jsonReader)

Reads an instance of ProcessNameFilter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ProcessNameFilter if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

operator

public ProcessNameFilterOperator operator()

Get the operator property: Operator for process name filter.

Returns:

the operator value.

processNames

public List<String> processNames()

Get the processNames property: List of process names on which the operator should be applied.

Returns:

the processNames value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withOperator

public ProcessNameFilter withOperator(ProcessNameFilterOperator operator)

Set the operator property: Operator for process name filter.

Parameters:

operator - the operator value to set.

Returns:

the ProcessNameFilter object itself.

withProcessNames

public ProcessNameFilter withProcessNames(List<String> processNames)

Set the processNames property: List of process names on which the operator should be applied.

Parameters:

processNames - the processNames value to set.

Returns:

the ProcessNameFilter object itself.

Applies to