Class AttestationEvidence
- java.lang.Object
-
- com.azure.resourcemanager.policyinsights.models.AttestationEvidence
-
public final class AttestationEvidence extends Object
A piece of evidence supporting the compliance state set in the attestation.
-
-
Constructor Summary
Constructors Constructor Description AttestationEvidence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Get the description property: The description for this piece of evidence.String
sourceUri()
Get the sourceUri property: The URI location of the evidence.void
validate()
Validates the instance.AttestationEvidence
withDescription(String description)
Set the description property: The description for this piece of evidence.AttestationEvidence
withSourceUri(String sourceUri)
Set the sourceUri property: The URI location of the evidence.
-
-
-
Method Detail
-
description
public String description()
Get the description property: The description for this piece of evidence.- Returns:
- the description value.
-
withDescription
public AttestationEvidence withDescription(String description)
Set the description property: The description for this piece of evidence.- Parameters:
description
- the description value to set.- Returns:
- the AttestationEvidence object itself.
-
sourceUri
public String sourceUri()
Get the sourceUri property: The URI location of the evidence.- Returns:
- the sourceUri value.
-
withSourceUri
public AttestationEvidence withSourceUri(String sourceUri)
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.
-
-