ClusterScanRuntimeParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.models.ClusterScanRuntimeParameters

Implements

public final class ClusterScanRuntimeParameters
implements JsonSerializable<ClusterScanRuntimeParameters>

ClusterScanRuntimeParameters defines the parameters for the cluster scan runtime operation.

Constructor Summary

Constructor Description
ClusterScanRuntimeParameters()

Creates an instance of ClusterScanRuntimeParameters class.

Method Summary

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

Reads an instance of ClusterScanRuntimeParameters from the JsonReader.

ClusterScanRuntimeParametersScanActivity scanActivity()

Get the scanActivity property: The choice of if the scan operation should run the scan.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ClusterScanRuntimeParameters withScanActivity(ClusterScanRuntimeParametersScanActivity scanActivity)

Set the scanActivity property: The choice of if the scan operation should run the scan.

Methods inherited from java.lang.Object

Constructor Details

ClusterScanRuntimeParameters

public ClusterScanRuntimeParameters()

Creates an instance of ClusterScanRuntimeParameters class.

Method Details

fromJson

public static ClusterScanRuntimeParameters fromJson(JsonReader jsonReader)

Reads an instance of ClusterScanRuntimeParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ClusterScanRuntimeParameters.

scanActivity

public ClusterScanRuntimeParametersScanActivity scanActivity()

Get the scanActivity property: The choice of if the scan operation should run the scan.

Returns:

the scanActivity value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withScanActivity

public ClusterScanRuntimeParameters withScanActivity(ClusterScanRuntimeParametersScanActivity scanActivity)

Set the scanActivity property: The choice of if the scan operation should run the scan.

Parameters:

scanActivity - the scanActivity value to set.

Returns:

the ClusterScanRuntimeParameters object itself.

Applies to