StandardAssignmentPropertiesAttestationData Class

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

Implements

public final class StandardAssignmentPropertiesAttestationData
implements JsonSerializable<StandardAssignmentPropertiesAttestationData>

Additional data about assignment that has Attest effect.

Constructor Summary

Constructor Description
StandardAssignmentPropertiesAttestationData()

Creates an instance of StandardAssignmentPropertiesAttestationData class.

Method Summary

Modifier and Type Method and Description
AssignedAssessmentItem assignedAssessment()

Get the assignedAssessment property: Component item with key as applied to this standard assignment over the given scope.

OffsetDateTime complianceDate()

Get the complianceDate property: Attestation compliance date.

AttestationComplianceState complianceState()

Get the complianceState property: Attest category of this assignment.

List<AttestationEvidence> evidence()

Get the evidence property: Array of links to attestation evidence.

static StandardAssignmentPropertiesAttestationData fromJson(JsonReader jsonReader)

Reads an instance of StandardAssignmentPropertiesAttestationData from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

StandardAssignmentPropertiesAttestationData withAssignedAssessment(AssignedAssessmentItem assignedAssessment)

Set the assignedAssessment property: Component item with key as applied to this standard assignment over the given scope.

StandardAssignmentPropertiesAttestationData withComplianceState(AttestationComplianceState complianceState)

Set the complianceState property: Attest category of this assignment.

StandardAssignmentPropertiesAttestationData withEvidence(List<AttestationEvidence> evidence)

Set the evidence property: Array of links to attestation evidence.

Methods inherited from java.lang.Object

Constructor Details

StandardAssignmentPropertiesAttestationData

public StandardAssignmentPropertiesAttestationData()

Creates an instance of StandardAssignmentPropertiesAttestationData class.

Method Details

assignedAssessment

public AssignedAssessmentItem assignedAssessment()

Get the assignedAssessment property: Component item with key as applied to this standard assignment over the given scope.

Returns:

the assignedAssessment value.

complianceDate

public OffsetDateTime complianceDate()

Get the complianceDate property: Attestation compliance date.

Returns:

the complianceDate value.

complianceState

public AttestationComplianceState complianceState()

Get the complianceState property: Attest category of this assignment.

Returns:

the complianceState value.

evidence

public List<AttestationEvidence> evidence()

Get the evidence property: Array of links to attestation evidence.

Returns:

the evidence value.

fromJson

public static StandardAssignmentPropertiesAttestationData fromJson(JsonReader jsonReader)

Reads an instance of StandardAssignmentPropertiesAttestationData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StandardAssignmentPropertiesAttestationData 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 StandardAssignmentPropertiesAttestationData.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAssignedAssessment

public StandardAssignmentPropertiesAttestationData withAssignedAssessment(AssignedAssessmentItem assignedAssessment)

Set the assignedAssessment property: Component item with key as applied to this standard assignment over the given scope.

Parameters:

assignedAssessment - the assignedAssessment value to set.

Returns:

the StandardAssignmentPropertiesAttestationData object itself.

withComplianceState

public StandardAssignmentPropertiesAttestationData withComplianceState(AttestationComplianceState complianceState)

Set the complianceState property: Attest category of this assignment.

Parameters:

complianceState - the complianceState value to set.

Returns:

the StandardAssignmentPropertiesAttestationData object itself.

withEvidence

public StandardAssignmentPropertiesAttestationData withEvidence(List<AttestationEvidence> evidence)

Set the evidence property: Array of links to attestation evidence.

Parameters:

evidence - the evidence value to set.

Returns:

the StandardAssignmentPropertiesAttestationData object itself.

Applies to