ControlSyncRecord Class

  • java.lang.Object
    • com.azure.resourcemanager.appcomplianceautomation.models.ControlSyncRecord

Implements

public final class ControlSyncRecord
implements JsonSerializable<ControlSyncRecord>

A class represent the control record synchronized from app compliance.

Constructor Summary

Constructor Description
ControlSyncRecord()

Creates an instance of ControlSyncRecord class.

Method Summary

Modifier and Type Method and Description
String controlId()

Get the controlId property: The Id of the control.

String controlStatus()

Get the controlStatus property: Control status synchronized from app compliance.

static ControlSyncRecord fromJson(JsonReader jsonReader)

Reads an instance of ControlSyncRecord from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
ControlSyncRecord withControlId(String controlId)

Set the controlId property: The Id of the control.

ControlSyncRecord withControlStatus(String controlStatus)

Set the controlStatus property: Control status synchronized from app compliance.

Methods inherited from java.lang.Object

Constructor Details

ControlSyncRecord

public ControlSyncRecord()

Creates an instance of ControlSyncRecord class.

Method Details

controlId

public String controlId()

Get the controlId property: The Id of the control. e.g. "Operational_Security_10".

Returns:

the controlId value.

controlStatus

public String controlStatus()

Get the controlStatus property: Control status synchronized from app compliance.

Returns:

the controlStatus value.

fromJson

public static ControlSyncRecord fromJson(JsonReader jsonReader)

Reads an instance of ControlSyncRecord from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withControlId

public ControlSyncRecord withControlId(String controlId)

Set the controlId property: The Id of the control. e.g. "Operational_Security_10".

Parameters:

controlId - the controlId value to set.

Returns:

the ControlSyncRecord object itself.

withControlStatus

public ControlSyncRecord withControlStatus(String controlStatus)

Set the controlStatus property: Control status synchronized from app compliance.

Parameters:

controlStatus - the controlStatus value to set.

Returns:

the ControlSyncRecord object itself.

Applies to