AttestationInner Class

public final class AttestationInner
extends ProxyResource

An attestation resource.

Constructor Summary

Constructor Description
AttestationInner()

Creates an instance of AttestationInner class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime assessmentDate()

Get the assessmentDate property: The time the evidence was assessed.

String comments()

Get the comments property: Comments describing why this attestation was created.

ComplianceState complianceState()

Get the complianceState property: The compliance state that should be set on the resource.

List<AttestationEvidence> evidence()

Get the evidence property: The evidence supporting the compliance state set in this attestation.

OffsetDateTime expiresOn()

Get the expiresOn property: The time the compliance state should expire.

OffsetDateTime lastComplianceStateChangeAt()

Get the lastComplianceStateChangeAt property: The time the compliance state was last changed in this attestation.

Object metadata()

Get the metadata property: Additional metadata for this attestation.

String owner()

Get the owner property: The person responsible for setting the state of the resource.

String policyAssignmentId()

Get the policyAssignmentId property: The resource ID of the policy assignment that the attestation is setting the state for.

String policyDefinitionReferenceId()

Get the policyDefinitionReferenceId property: The policy definition reference ID from a policy set definition that the attestation is setting the state for.

String provisioningState()

Get the provisioningState property: The status of the attestation.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

void validate()

Validates the instance.

AttestationInner withAssessmentDate(OffsetDateTime assessmentDate)

Set the assessmentDate property: The time the evidence was assessed.

AttestationInner withComments(String comments)

Set the comments property: Comments describing why this attestation was created.

AttestationInner withComplianceState(ComplianceState complianceState)

Set the complianceState property: The compliance state that should be set on the resource.

AttestationInner withEvidence(List<AttestationEvidence> evidence)

Set the evidence property: The evidence supporting the compliance state set in this attestation.

AttestationInner withExpiresOn(OffsetDateTime expiresOn)

Set the expiresOn property: The time the compliance state should expire.

AttestationInner withMetadata(Object metadata)

Set the metadata property: Additional metadata for this attestation.

AttestationInner withOwner(String owner)

Set the owner property: The person responsible for setting the state of the resource.

AttestationInner withPolicyAssignmentId(String policyAssignmentId)

Set the policyAssignmentId property: The resource ID of the policy assignment that the attestation is setting the state for.

AttestationInner withPolicyDefinitionReferenceId(String policyDefinitionReferenceId)

Set the policyDefinitionReferenceId property: The policy definition reference ID from a policy set definition that the attestation is setting the state for.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

AttestationInner

public AttestationInner()

Creates an instance of AttestationInner class.

Method Details

assessmentDate

public OffsetDateTime assessmentDate()

Get the assessmentDate property: The time the evidence was assessed.

Returns:

the assessmentDate value.

comments

public String comments()

Get the comments property: Comments describing why this attestation was created.

Returns:

the comments value.

complianceState

public ComplianceState complianceState()

Get the complianceState property: The compliance state that should be set on the resource.

Returns:

the complianceState value.

evidence

public List evidence()

Get the evidence property: The evidence supporting the compliance state set in this attestation.

Returns:

the evidence value.

expiresOn

public OffsetDateTime expiresOn()

Get the expiresOn property: The time the compliance state should expire.

Returns:

the expiresOn value.

lastComplianceStateChangeAt

public OffsetDateTime lastComplianceStateChangeAt()

Get the lastComplianceStateChangeAt property: The time the compliance state was last changed in this attestation.

Returns:

the lastComplianceStateChangeAt value.

metadata

public Object metadata()

Get the metadata property: Additional metadata for this attestation.

Returns:

the metadata value.

owner

public String owner()

Get the owner property: The person responsible for setting the state of the resource. This value is typically an Azure Active Directory object ID.

Returns:

the owner value.

policyAssignmentId

public String policyAssignmentId()

Get the policyAssignmentId property: The resource ID of the policy assignment that the attestation is setting the state for.

Returns:

the policyAssignmentId value.

policyDefinitionReferenceId

public String policyDefinitionReferenceId()

Get the policyDefinitionReferenceId property: The policy definition reference ID from a policy set definition that the attestation is setting the state for. If the policy assignment assigns a policy set definition the attestation can choose a definition within the set definition with this property or omit this and set the state for the entire set definition.

Returns:

the policyDefinitionReferenceId value.

provisioningState

public String provisioningState()

Get the provisioningState property: The status of the attestation.

Returns:

the provisioningState value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

validate

public void validate()

Validates the instance.

withAssessmentDate

public AttestationInner withAssessmentDate(OffsetDateTime assessmentDate)

Set the assessmentDate property: The time the evidence was assessed.

Parameters:

assessmentDate - the assessmentDate value to set.

Returns:

the AttestationInner object itself.

withComments

public AttestationInner withComments(String comments)

Set the comments property: Comments describing why this attestation was created.

Parameters:

comments - the comments value to set.

Returns:

the AttestationInner object itself.

withComplianceState

public AttestationInner withComplianceState(ComplianceState complianceState)

Set the complianceState property: The compliance state that should be set on the resource.

Parameters:

complianceState - the complianceState value to set.

Returns:

the AttestationInner object itself.

withEvidence

public AttestationInner withEvidence(List evidence)

Set the evidence property: The evidence supporting the compliance state set in this attestation.

Parameters:

evidence - the evidence value to set.

Returns:

the AttestationInner object itself.

withExpiresOn

public AttestationInner withExpiresOn(OffsetDateTime expiresOn)

Set the expiresOn property: The time the compliance state should expire.

Parameters:

expiresOn - the expiresOn value to set.

Returns:

the AttestationInner object itself.

withMetadata

public AttestationInner withMetadata(Object metadata)

Set the metadata property: Additional metadata for this attestation.

Parameters:

metadata - the metadata value to set.

Returns:

the AttestationInner object itself.

withOwner

public AttestationInner withOwner(String owner)

Set the owner property: The person responsible for setting the state of the resource. This value is typically an Azure Active Directory object ID.

Parameters:

owner - the owner value to set.

Returns:

the AttestationInner object itself.

withPolicyAssignmentId

public AttestationInner withPolicyAssignmentId(String policyAssignmentId)

Set the policyAssignmentId property: The resource ID of the policy assignment that the attestation is setting the state for.

Parameters:

policyAssignmentId - the policyAssignmentId value to set.

Returns:

the AttestationInner object itself.

withPolicyDefinitionReferenceId

public AttestationInner withPolicyDefinitionReferenceId(String policyDefinitionReferenceId)

Set the policyDefinitionReferenceId property: The policy definition reference ID from a policy set definition that the attestation is setting the state for. If the policy assignment assigns a policy set definition the attestation can choose a definition within the set definition with this property or omit this and set the state for the entire set definition.

Parameters:

policyDefinitionReferenceId - the policyDefinitionReferenceId value to set.

Returns:

the AttestationInner object itself.

Applies to