AttestationEvidence Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.AttestationEvidence

Implements

public final class AttestationEvidence
implements JsonSerializable<AttestationEvidence>

Describe the properties of a assignment attestation.

Constructor Summary

Constructor Description
AttestationEvidence()

Creates an instance of AttestationEvidence class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The description of the evidence.

static AttestationEvidence fromJson(JsonReader jsonReader)

Reads an instance of AttestationEvidence from the JsonReader.

String sourceUrl()

Get the sourceUrl property: The source url of the evidence.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AttestationEvidence withDescription(String description)

Set the description property: The description of the evidence.

AttestationEvidence withSourceUrl(String sourceUrl)

Set the sourceUrl property: The source url of the evidence.

Methods inherited from java.lang.Object

Constructor Details

AttestationEvidence

public AttestationEvidence()

Creates an instance of AttestationEvidence class.

Method Details

description

public String description()

Get the description property: The description of the evidence.

Returns:

the description value.

fromJson

public static AttestationEvidence fromJson(JsonReader jsonReader)

Reads an instance of AttestationEvidence from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AttestationEvidence if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AttestationEvidence.

sourceUrl

public String sourceUrl()

Get the sourceUrl property: The source url of the evidence.

Returns:

the sourceUrl value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDescription

public AttestationEvidence withDescription(String description)

Set the description property: The description of the evidence.

Parameters:

description - the description value to set.

Returns:

the AttestationEvidence object itself.

withSourceUrl

public AttestationEvidence withSourceUrl(String sourceUrl)

Set the sourceUrl property: The source url of the evidence.

Parameters:

sourceUrl - the sourceUrl value to set.

Returns:

the AttestationEvidence object itself.

Applies to