EvidenceProperties Class

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

Implements

public final class EvidenceProperties
implements JsonSerializable<EvidenceProperties>

Evidence's properties.

Constructor Summary

Constructor Description
EvidenceProperties()

Creates an instance of EvidenceProperties class.

Method Summary

Modifier and Type Method and Description
String controlId()

Get the controlId property: Control id.

EvidenceType evidenceType()

Get the evidenceType property: Evidence type.

String extraData()

Get the extraData property: Extra data considered as evidence.

String filePath()

Get the filePath property: The path of the file in storage.

static EvidenceProperties fromJson(JsonReader jsonReader)

Reads an instance of EvidenceProperties from the JsonReader.

ProvisioningState provisioningState()

Get the provisioningState property: Azure lifecycle management.

String responsibilityId()

Get the responsibilityId property: Responsibility id.

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

Set the controlId property: Control id.

EvidenceProperties withEvidenceType(EvidenceType evidenceType)

Set the evidenceType property: Evidence type.

EvidenceProperties withExtraData(String extraData)

Set the extraData property: Extra data considered as evidence.

EvidenceProperties withFilePath(String filePath)

Set the filePath property: The path of the file in storage.

EvidenceProperties withResponsibilityId(String responsibilityId)

Set the responsibilityId property: Responsibility id.

Methods inherited from java.lang.Object

Constructor Details

EvidenceProperties

public EvidenceProperties()

Creates an instance of EvidenceProperties class.

Method Details

controlId

public String controlId()

Get the controlId property: Control id.

Returns:

the controlId value.

evidenceType

public EvidenceType evidenceType()

Get the evidenceType property: Evidence type.

Returns:

the evidenceType value.

extraData

public String extraData()

Get the extraData property: Extra data considered as evidence.

Returns:

the extraData value.

filePath

public String filePath()

Get the filePath property: The path of the file in storage.

Returns:

the filePath value.

fromJson

public static EvidenceProperties fromJson(JsonReader jsonReader)

Reads an instance of EvidenceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Azure lifecycle management.

Returns:

the provisioningState value.

responsibilityId

public String responsibilityId()

Get the responsibilityId property: Responsibility id.

Returns:

the responsibilityId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withControlId

public EvidenceProperties withControlId(String controlId)

Set the controlId property: Control id.

Parameters:

controlId - the controlId value to set.

Returns:

the EvidenceProperties object itself.

withEvidenceType

public EvidenceProperties withEvidenceType(EvidenceType evidenceType)

Set the evidenceType property: Evidence type.

Parameters:

evidenceType - the evidenceType value to set.

Returns:

the EvidenceProperties object itself.

withExtraData

public EvidenceProperties withExtraData(String extraData)

Set the extraData property: Extra data considered as evidence.

Parameters:

extraData - the extraData value to set.

Returns:

the EvidenceProperties object itself.

withFilePath

public EvidenceProperties withFilePath(String filePath)

Set the filePath property: The path of the file in storage.

Parameters:

filePath - the filePath value to set.

Returns:

the EvidenceProperties object itself.

withResponsibilityId

public EvidenceProperties withResponsibilityId(String responsibilityId)

Set the responsibilityId property: Responsibility id.

Parameters:

responsibilityId - the responsibilityId value to set.

Returns:

the EvidenceProperties object itself.

Applies to