ValidateRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.azurestackhci.models.ValidateRequest

Implements

public final class ValidateRequest
implements JsonSerializable<ValidateRequest>

The validate request for Edge Device.

Constructor Summary

Constructor Description
ValidateRequest()

Creates an instance of ValidateRequest class.

Method Summary

Modifier and Type Method and Description
String additionalInfo()

Get the additionalInfo property: Additional info required for validation.

List<String> edgeDeviceIds()

Get the edgeDeviceIds property: Node Ids against which, current node has to be validated.

static ValidateRequest fromJson(JsonReader jsonReader)

Reads an instance of ValidateRequest from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
ValidateRequest withAdditionalInfo(String additionalInfo)

Set the additionalInfo property: Additional info required for validation.

ValidateRequest withEdgeDeviceIds(List<String> edgeDeviceIds)

Set the edgeDeviceIds property: Node Ids against which, current node has to be validated.

Methods inherited from java.lang.Object

Constructor Details

ValidateRequest

public ValidateRequest()

Creates an instance of ValidateRequest class.

Method Details

additionalInfo

public String additionalInfo()

Get the additionalInfo property: Additional info required for validation.

Returns:

the additionalInfo value.

edgeDeviceIds

public List<String> edgeDeviceIds()

Get the edgeDeviceIds property: Node Ids against which, current node has to be validated.

Returns:

the edgeDeviceIds value.

fromJson

public static ValidateRequest fromJson(JsonReader jsonReader)

Reads an instance of ValidateRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ValidateRequest 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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withAdditionalInfo

public ValidateRequest withAdditionalInfo(String additionalInfo)

Set the additionalInfo property: Additional info required for validation.

Parameters:

additionalInfo - the additionalInfo value to set.

Returns:

the ValidateRequest object itself.

withEdgeDeviceIds

public ValidateRequest withEdgeDeviceIds(List<String> edgeDeviceIds)

Set the edgeDeviceIds property: Node Ids against which, current node has to be validated.

Parameters:

edgeDeviceIds - the edgeDeviceIds value to set.

Returns:

the ValidateRequest object itself.

Applies to