public class AttestationInner
extends com.azure.core.management.ProxyResource
Constructor and Description |
---|
AttestationInner() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
com.azure.core.management.SystemData |
systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
void |
validate()
Validates the instance.
|
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 |
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.
|
public com.azure.core.management.SystemData systemData()
public String policyAssignmentId()
public AttestationInner withPolicyAssignmentId(String policyAssignmentId)
policyAssignmentId
- the policyAssignmentId value to set.public String policyDefinitionReferenceId()
public AttestationInner withPolicyDefinitionReferenceId(String policyDefinitionReferenceId)
policyDefinitionReferenceId
- the policyDefinitionReferenceId value to set.public ComplianceState complianceState()
public AttestationInner withComplianceState(ComplianceState complianceState)
complianceState
- the complianceState value to set.public OffsetDateTime expiresOn()
public AttestationInner withExpiresOn(OffsetDateTime expiresOn)
expiresOn
- the expiresOn value to set.public String owner()
public AttestationInner withOwner(String owner)
owner
- the owner value to set.public String comments()
public AttestationInner withComments(String comments)
comments
- the comments value to set.public List<AttestationEvidence> evidence()
public AttestationInner withEvidence(List<AttestationEvidence> evidence)
evidence
- the evidence value to set.public String provisioningState()
public OffsetDateTime lastComplianceStateChangeAt()
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.