CertSyncRecord Class

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

Implements

public final class CertSyncRecord
implements JsonSerializable<CertSyncRecord>

A class represent the certification record synchronized from app compliance.

Constructor Summary

Constructor Description
CertSyncRecord()

Creates an instance of CertSyncRecord class.

Method Summary

Modifier and Type Method and Description
String certificationStatus()

Get the certificationStatus property: Indicates the status of certification process.

List<ControlSyncRecord> controls()

Get the controls property: The control records list to be synchronized.

static CertSyncRecord fromJson(JsonReader jsonReader)

Reads an instance of CertSyncRecord from the JsonReader.

String ingestionStatus()

Get the ingestionStatus property: Indicates the status of compliance process.

String offerGuid()

Get the offerGuid property: The offerGuid which mapping to the reports.

JsonWriter toJson(JsonWriter jsonWriter)
CertSyncRecord withCertificationStatus(String certificationStatus)

Set the certificationStatus property: Indicates the status of certification process.

CertSyncRecord withControls(List<ControlSyncRecord> controls)

Set the controls property: The control records list to be synchronized.

CertSyncRecord withIngestionStatus(String ingestionStatus)

Set the ingestionStatus property: Indicates the status of compliance process.

CertSyncRecord withOfferGuid(String offerGuid)

Set the offerGuid property: The offerGuid which mapping to the reports.

Methods inherited from java.lang.Object

Constructor Details

CertSyncRecord

public CertSyncRecord()

Creates an instance of CertSyncRecord class.

Method Details

certificationStatus

public String certificationStatus()

Get the certificationStatus property: Indicates the status of certification process.

Returns:

the certificationStatus value.

controls

public List<ControlSyncRecord> controls()

Get the controls property: The control records list to be synchronized.

Returns:

the controls value.

fromJson

public static CertSyncRecord fromJson(JsonReader jsonReader)

Reads an instance of CertSyncRecord from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ingestionStatus

public String ingestionStatus()

Get the ingestionStatus property: Indicates the status of compliance process.

Returns:

the ingestionStatus value.

offerGuid

public String offerGuid()

Get the offerGuid property: The offerGuid which mapping to the reports.

Returns:

the offerGuid value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withCertificationStatus

public CertSyncRecord withCertificationStatus(String certificationStatus)

Set the certificationStatus property: Indicates the status of certification process.

Parameters:

certificationStatus - the certificationStatus value to set.

Returns:

the CertSyncRecord object itself.

withControls

public CertSyncRecord withControls(List<ControlSyncRecord> controls)

Set the controls property: The control records list to be synchronized.

Parameters:

controls - the controls value to set.

Returns:

the CertSyncRecord object itself.

withIngestionStatus

public CertSyncRecord withIngestionStatus(String ingestionStatus)

Set the ingestionStatus property: Indicates the status of compliance process.

Parameters:

ingestionStatus - the ingestionStatus value to set.

Returns:

the CertSyncRecord object itself.

withOfferGuid

public CertSyncRecord withOfferGuid(String offerGuid)

Set the offerGuid property: The offerGuid which mapping to the reports.

Parameters:

offerGuid - the offerGuid value to set.

Returns:

the CertSyncRecord object itself.

Applies to