AttestationInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. policyinsights. fluent. models. AttestationInner
- com.
- com.
public final class AttestationInner
extends ProxyResource
An attestation resource.
Constructor Summary
Constructor | Description |
---|---|
AttestationInner() |
Creates an instance of Attestation |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
assessmentDate()
Get the assessment |
String |
comments()
Get the comments property: Comments describing why this attestation was created. |
Compliance |
complianceState()
Get the compliance |
List<Attestation |
evidence()
Get the evidence property: The evidence supporting the compliance state set in this attestation. |
Offset |
expiresOn()
Get the expires |
Offset |
lastComplianceStateChangeAt()
Get the last |
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 policy |
String |
policyDefinitionReferenceId()
Get the policy |
String |
provisioningState()
Get the provisioning |
System |
systemData()
Get the system |
void |
validate()
Validates the instance. |
Attestation |
withAssessmentDate(OffsetDateTime assessmentDate)
Set the assessment |
Attestation |
withComments(String comments)
Set the comments property: Comments describing why this attestation was created. |
Attestation |
withComplianceState(ComplianceState complianceState)
Set the compliance |
Attestation |
withEvidence(List<AttestationEvidence> evidence)
Set the evidence property: The evidence supporting the compliance state set in this attestation. |
Attestation |
withExpiresOn(OffsetDateTime expiresOn)
Set the expires |
Attestation |
withMetadata(Object metadata)
Set the metadata property: Additional metadata for this attestation. |
Attestation |
withOwner(String owner)
Set the owner property: The person responsible for setting the state of the resource. |
Attestation |
withPolicyAssignmentId(String policyAssignmentId)
Set the policy |
Attestation |
withPolicyDefinitionReferenceId(String policyDefinitionReferenceId)
Set the policy |
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:
comments
public String comments()
Get the comments property: Comments describing why this attestation was created.
Returns:
complianceState
public ComplianceState complianceState()
Get the complianceState property: The compliance state that should be set on the resource.
Returns:
evidence
public List
Get the evidence property: The evidence supporting the compliance state set in this attestation.
Returns:
expiresOn
public OffsetDateTime expiresOn()
Get the expiresOn property: The time the compliance state should expire.
Returns:
lastComplianceStateChangeAt
public OffsetDateTime lastComplianceStateChangeAt()
Get the lastComplianceStateChangeAt property: The time the compliance state was last changed in this attestation.
Returns:
metadata
public Object metadata()
Get the metadata property: Additional metadata for this attestation.
Returns:
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:
policyAssignmentId
public String policyAssignmentId()
Get the policyAssignmentId property: The resource ID of the policy assignment that the attestation is setting the state for.
Returns:
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:
provisioningState
public String provisioningState()
Get the provisioningState property: The status of the attestation.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
validate
public void validate()
Validates the instance.
withAssessmentDate
public AttestationInner withAssessmentDate(OffsetDateTime assessmentDate)
Set the assessmentDate property: The time the evidence was assessed.
Parameters:
Returns:
withComments
public AttestationInner withComments(String comments)
Set the comments property: Comments describing why this attestation was created.
Parameters:
Returns:
withComplianceState
public AttestationInner withComplianceState(ComplianceState complianceState)
Set the complianceState property: The compliance state that should be set on the resource.
Parameters:
Returns:
withEvidence
public AttestationInner withEvidence(List
Set the evidence property: The evidence supporting the compliance state set in this attestation.
Parameters:
Returns:
withExpiresOn
public AttestationInner withExpiresOn(OffsetDateTime expiresOn)
Set the expiresOn property: The time the compliance state should expire.
Parameters:
Returns:
withMetadata
public AttestationInner withMetadata(Object metadata)
Set the metadata property: Additional metadata for this attestation.
Parameters:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for