Class AttestationEvidence
java.lang.Object
com.azure.resourcemanager.policyinsights.models.AttestationEvidence
A piece of evidence supporting the compliance state set in the attestation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description for this piece of evidence.Get the sourceUri property: The URI location of the evidence.void
validate()
Validates the instance.withDescription
(String description) Set the description property: The description for this piece of evidence.withSourceUri
(String sourceUri) Set the sourceUri property: The URI location of the evidence.
-
Constructor Details
-
AttestationEvidence
public AttestationEvidence()Creates an instance of AttestationEvidence class.
-
-
Method Details
-
description
Get the description property: The description for this piece of evidence.- Returns:
- the description value.
-
withDescription
Set the description property: The description for this piece of evidence.- Parameters:
description
- the description value to set.- Returns:
- the AttestationEvidence object itself.
-
sourceUri
Get the sourceUri property: The URI location of the evidence.- Returns:
- the sourceUri value.
-
withSourceUri
Set the sourceUri property: The URI location of the evidence.- Parameters:
sourceUri
- the sourceUri value to set.- Returns:
- the AttestationEvidence object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-