Class AttestationInner


  • public final class AttestationInner
    extends com.azure.core.management.ProxyResource
    An attestation resource.
    • Constructor Detail

      • AttestationInner

        public AttestationInner()
    • Method Detail

      • systemData

        public com.azure.core.management.SystemData systemData()
        Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
        Returns:
        the systemData 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.
      • 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.
      • 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.
      • 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.
      • complianceState

        public ComplianceState complianceState()
        Get the complianceState property: The compliance state that should be set on the resource.
        Returns:
        the complianceState value.
      • 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.
      • expiresOn

        public OffsetDateTime expiresOn()
        Get the expiresOn property: The time the compliance state should expire.
        Returns:
        the expiresOn value.
      • 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.
      • 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.
      • 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.
      • comments

        public String comments()
        Get the comments property: Comments describing why this attestation was created.
        Returns:
        the comments value.
      • 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.
      • evidence

        public List<AttestationEvidence> evidence()
        Get the evidence property: The evidence supporting the compliance state set in this attestation.
        Returns:
        the evidence value.
      • withEvidence

        public AttestationInner withEvidence​(List<AttestationEvidence> 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.
      • provisioningState

        public String provisioningState()
        Get the provisioningState property: The status of the attestation.
        Returns:
        the provisioningState value.
      • lastComplianceStateChangeAt

        public OffsetDateTime lastComplianceStateChangeAt()
        Get the lastComplianceStateChangeAt property: The time the compliance state was last changed in this attestation.
        Returns:
        the lastComplianceStateChangeAt value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.