Class AttestationEvidence


  • public final class AttestationEvidence
    extends Object
    A piece of evidence supporting the compliance state set in the attestation.
    • Constructor Detail

      • AttestationEvidence

        public AttestationEvidence()
    • 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.