public void setEntityId(String entityId) {
        this.entityId = entityId;
    }
<p>
Identifier of an entity in which drift was detected. For compliance drift, the entity ID can be either
application ID or the AppComponent ID.
</p>

@param entityId
       Identifier of an entity in which drift was detected. For compliance drift, the entity ID can be either
       application ID or the AppComponent ID.
aws-java-sdk-resiliencehub/src/main/java/com/amazonaws/services/resiliencehub/model/ComplianceDrift.java