EvidenceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appcomplianceautomation. models. EvidenceProperties
- com.
Implements
public final class EvidenceProperties
implements JsonSerializable<EvidenceProperties>
Evidence's properties.
Constructor Summary
| Constructor | Description |
|---|---|
| EvidenceProperties() |
Creates an instance of Evidence |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
controlId()
Get the control |
|
Evidence |
evidenceType()
Get the evidence |
| String |
extraData()
Get the extra |
| String |
filePath()
Get the file |
|
static
Evidence |
fromJson(JsonReader jsonReader)
Reads an instance of Evidence |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
responsibilityId()
Get the responsibility |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Evidence |
withControlId(String controlId)
Set the control |
|
Evidence |
withEvidenceType(EvidenceType evidenceType)
Set the evidence |
|
Evidence |
withExtraData(String extraData)
Set the extra |
|
Evidence |
withFilePath(String filePath)
Set the file |
|
Evidence |
withResponsibilityId(String responsibilityId)
Set the responsibility |
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:
evidenceType
public EvidenceType evidenceType()
Get the evidenceType property: Evidence type.
Returns:
extraData
public String extraData()
Get the extraData property: Extra data considered as evidence.
Returns:
filePath
public String filePath()
Get the filePath property: The path of the file in storage.
Returns:
fromJson
public static EvidenceProperties fromJson(JsonReader jsonReader)
Reads an instance of EvidenceProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Azure lifecycle management.
Returns:
responsibilityId
public String responsibilityId()
Get the responsibilityId property: Responsibility id.
Returns:
toJson
withControlId
public EvidenceProperties withControlId(String controlId)
Set the controlId property: Control id.
Parameters:
Returns:
withEvidenceType
public EvidenceProperties withEvidenceType(EvidenceType evidenceType)
Set the evidenceType property: Evidence type.
Parameters:
Returns:
withExtraData
public EvidenceProperties withExtraData(String extraData)
Set the extraData property: Extra data considered as evidence.
Parameters:
Returns:
withFilePath
public EvidenceProperties withFilePath(String filePath)
Set the filePath property: The path of the file in storage.
Parameters:
Returns:
withResponsibilityId
public EvidenceProperties withResponsibilityId(String responsibilityId)
Set the responsibilityId property: Responsibility id.
Parameters:
Returns: